[pypy-svn] r16759 - in pypy/release/0.7.x/pypy/translator: c tool/pygame

cfbolz at codespeak.net cfbolz at codespeak.net
Sat Aug 27 14:35:33 CEST 2005


Author: cfbolz
Date: Sat Aug 27 14:35:32 2005
New Revision: 16759

Modified:
   pypy/release/0.7.x/pypy/translator/c/genc.py
   pypy/release/0.7.x/pypy/translator/tool/pygame/graphclient.py
Log:
typo, discovered when I tried the interactive examples in getting-started


Modified: pypy/release/0.7.x/pypy/translator/c/genc.py
==============================================================================
--- pypy/release/0.7.x/pypy/translator/c/genc.py	(original)
+++ pypy/release/0.7.x/pypy/translator/c/genc.py	Sat Aug 27 14:35:32 2005
@@ -115,7 +115,7 @@
 
 
 def translator2database(translator):
-    pf = pyobjectptr(translator.entrypoint)
+    pf = lltype.pyobjectptr(translator.entrypoint)
     db = LowLevelDatabase(translator)
     db.get(pf)
     db.complete()

Modified: pypy/release/0.7.x/pypy/translator/tool/pygame/graphclient.py
==============================================================================
--- pypy/release/0.7.x/pypy/translator/tool/pygame/graphclient.py	(original)
+++ pypy/release/0.7.x/pypy/translator/tool/pygame/graphclient.py	Sat Aug 27 14:35:32 2005
@@ -16,7 +16,7 @@
 
 import py
 def dot2plain(dotfile, plainfile): 
-    if 0: 
+    if 1: 
         cmdexec('dot -Tplain %s>%s' % (dotfile, plainfile))
     elif 0: 
         gw = py.execnet.SshGateway('codespeak.net')



More information about the Pypy-commit mailing list