Author: Armin Rigo <[email protected]>
Branch: stmgc-c7-rewindjmp
Changeset: r72796:209a49d5e176
Date: 2014-08-12 17:37 +0200
http://bitbucket.org/pypy/pypy/changeset/209a49d5e176/

Log:    Comparing this with the trunk version, I think that this is what is
        meant

diff --git a/rpython/jit/backend/tool/viewcode.py 
b/rpython/jit/backend/tool/viewcode.py
--- a/rpython/jit/backend/tool/viewcode.py
+++ b/rpython/jit/backend/tool/viewcode.py
@@ -116,7 +116,7 @@
     p = subprocess.Popen(symbollister % filename, shell=True,
                          stdout=subprocess.PIPE, stderr=subprocess.PIPE)
     stdout, stderr = p.communicate()
-    if not p.returncode:
+    if p.returncode:
         raise Exception('Encountered an error running nm: %s' %
                         stderr)
     for line in stdout.splitlines(True):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to