[pypy-svn] pypy numpy-exp: fix

fijal commits-noreply at bitbucket.org
Sun Feb 13 16:16:13 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-exp
Changeset: r41883:f5508711fb3f
Date: 2011-02-12 20:47 +0200
http://bitbucket.org/pypy/pypy/changeset/f5508711fb3f/

Log:	fix

diff --git a/pypy/translator/goal/targetnumpystandalone.py b/pypy/translator/goal/targetnumpystandalone.py
--- a/pypy/translator/goal/targetnumpystandalone.py
+++ b/pypy/translator/goal/targetnumpystandalone.py
@@ -20,7 +20,7 @@
     return a
 
 def entry_point(argv):
-    if len(argv) == 2:
+    if len(argv) != 3:
         print __doc__
         return 1
     bytecode = argv[1]


More information about the Pypy-commit mailing list