[pypy-commit] pypy translation-cleanup: Fix PyGraph.name
rlamy
noreply at buildbot.pypy.org
Mon Oct 1 18:27:30 CEST 2012
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: translation-cleanup
Changeset: r57706:3f9e93ff1e1d
Date: 2012-10-01 17:10 +0100
http://bitbucket.org/pypy/pypy/changeset/3f9e93ff1e1d/
Log: Fix PyGraph.name
diff --git a/pypy/objspace/flow/pygraph.py b/pypy/objspace/flow/pygraph.py
--- a/pypy/objspace/flow/pygraph.py
+++ b/pypy/objspace/flow/pygraph.py
@@ -36,4 +36,5 @@
name = '%s.%s' % (class_.__name__, name)
for c in "<>&!":
name = name.replace(c, '_')
+ return name
More information about the pypy-commit
mailing list