[pypy-commit] pypy stmgc-c7-rewindjmp: Comparing this with the trunk version, I think that this is what is meant

arigo noreply at buildbot.pypy.org
Thu Aug 14 15:14:15 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
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):


More information about the pypy-commit mailing list