[pypy-commit] jitviewer default: technically argument errors should return 2

gutworth noreply at buildbot.pypy.org
Sun Jul 10 04:52:04 CEST 2011


Author: Benjamin Peterson <benjamin at python.org>
Branch: 
Changeset: r140:0a3e55eefb3f
Date: 2011-07-09 21:56 -0500
http://bitbucket.org/pypy/jitviewer/changeset/0a3e55eefb3f/

Log:	technically argument errors should return 2

diff --git a/bin/qwebview.py b/bin/qwebview.py
--- a/bin/qwebview.py
+++ b/bin/qwebview.py
@@ -14,7 +14,7 @@
         title = sys.argv[2]
     else:
         print >> sys.stderr, "Usage: qwebview.py URL [title]"
-        return 1
+        return 2
 
     app = QApplication(sys.argv)
     web = QWebView()


More information about the pypy-commit mailing list