[pypy-svn] r44269 - pypy/branch/graphserver-dist/pypy/rlib/parsing

arigo at codespeak.net arigo at codespeak.net
Fri Jun 15 10:51:33 CEST 2007


Author: arigo
Date: Fri Jun 15 10:51:32 2007
New Revision: 44269

Modified:
   pypy/branch/graphserver-dist/pypy/rlib/parsing/deterministic.py
   pypy/branch/graphserver-dist/pypy/rlib/parsing/tree.py
Log:
Fix imports.


Modified: pypy/branch/graphserver-dist/pypy/rlib/parsing/deterministic.py
==============================================================================
--- pypy/branch/graphserver-dist/pypy/rlib/parsing/deterministic.py	(original)
+++ pypy/branch/graphserver-dist/pypy/rlib/parsing/deterministic.py	Fri Jun 15 10:51:32 2007
@@ -370,7 +370,7 @@
         return "\n".join(result)
 
     def view(self):
-        from pypy.translator.tool.pygame import graphclient
+        from dotviewer import graphclient
         p = py.test.ensuretemp("automaton").join("temp.dot")
         dot = self.dot()
         p.write(dot)
@@ -510,7 +510,7 @@
         return mapping
 
     def view(self):
-        from pypy.translator.tool.pygame import graphclient
+        from dotviewer import graphclient
         p = py.test.ensuretemp("automaton").join("temp.dot")
         dot = self.dot()
         p.write(dot)

Modified: pypy/branch/graphserver-dist/pypy/rlib/parsing/tree.py
==============================================================================
--- pypy/branch/graphserver-dist/pypy/rlib/parsing/tree.py	(original)
+++ pypy/branch/graphserver-dist/pypy/rlib/parsing/tree.py	Fri Jun 15 10:51:32 2007
@@ -2,7 +2,7 @@
 
 class Node(object):
     def view(self):
-        from pypy.translator.tool.pygame import graphclient
+        from dotviewer import graphclient
         content = ["digraph G{"]
         content.extend(self.dot())
         content.append("}")



More information about the Pypy-commit mailing list