Commits

Britton Smith committed 033b46a

Updating simple server.

Comments (0)

Files changed (1)

 import Pyro4
 import uuid
+from yt.gui.reason.basic_repl import ProgrammaticREPL
 
 class Executor(object):
+    def __init__(self):
+        self.repl = ProgrammaticREPL()
     def execute(self, code):
         print "EXECUTING", code
-        return eval(code)
+        return self.repl.execute(code)
 
 executor = Executor()