[pypy-svn] r35227 - pypy/dist/pypy/translator/goal

fijal at codespeak.net fijal at codespeak.net
Sun Dec 3 20:49:49 CET 2006


Author: fijal
Date: Sun Dec  3 20:49:47 2006
New Revision: 35227

Modified:
   pypy/dist/pypy/translator/goal/app_main.py
Log:
Fix the check.


Modified: pypy/dist/pypy/translator/goal/app_main.py
==============================================================================
--- pypy/dist/pypy/translator/goal/app_main.py	(original)
+++ pypy/dist/pypy/translator/goal/app_main.py	Sun Dec  3 20:49:47 2006
@@ -180,7 +180,7 @@
         if arg == '-i':
             go_interactive = True
         elif arg == '-c':
-            if i >= len(argv)-1:
+            if i >= len(argv):
                 print_error('Argument expected for the -c option')
                 return 2
             break



More information about the Pypy-commit mailing list