From 3ff776577ca1921b232eaa21b78efdc808d5c297 Mon Sep 17 00:00:00 2001 From: Lieuwe Date: Sat, 26 Feb 2011 21:33:43 +0100 Subject: [PATCH] persistence --- build/tpt_console.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/tpt_console.py b/build/tpt_console.py index 655c1088e..31c25226e 100644 --- a/build/tpt_console.py +++ b/build/tpt_console.py @@ -95,10 +95,10 @@ def handle(txt): def _handle(txt): #print "handling '%s'"%txt try: - sys.stdout.write(repr(eval(tmp))) + sys.stdout.write(repr(eval(tmp,handle.glob))) except: try: - exec txt + exec txt,handle.glob except Exception as ex: error(ex)