[pypy-svn] r7614 - pypy/trunk/src/pypy/translator/tool/pygame

mgedmin at codespeak.net mgedmin at codespeak.net
Tue Nov 23 13:40:55 CET 2004


Author: mgedmin
Date: Tue Nov 23 13:40:55 2004
New Revision: 7614

Modified:
   pypy/trunk/src/pypy/translator/tool/pygame/flowviewer.py
Log:
Show attribute values once again in class graphs.



Modified: pypy/trunk/src/pypy/translator/tool/pygame/flowviewer.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/pygame/flowviewer.py	(original)
+++ pypy/trunk/src/pypy/translator/tool/pygame/flowviewer.py	Tue Nov 23 13:40:55 2004
@@ -136,7 +136,8 @@
                              label=repr(cdef.cls))
             attrs = cdef.attrs.items()
             attrs.sort()
-            for name, s_value in attrs:
+            for name, attrdef in attrs:
+                s_value = attrdef.getvalue()
                 dotgen.emit_node(name, shape="box", label=nottoowide(s_value))
                 dotgen.emit_edge(nameof(cdef), name, label=name)
 



More information about the Pypy-commit mailing list