Commits

Anonymous committed 5132929

Fixed bad error on abort

Comments (0)

Files changed (1)

prolog/interpreter/continuation.py

 
     def action_abort(self, fcont, heap):
         nextcont = DoneSuccessContinuation(self.engine)
-        write("Execution aborted\n")
+        self.engine.tracewrapper.write("Execution aborted\n")
         return nextcont, fcont, heap
 
     # __________Helper methods