This commit is contained in:
Lieuwe 2011-02-27 04:36:13 +08:00 committed by Simon Robertshaw
parent 5e7939f75d
commit 759dd04580

View File

@ -98,7 +98,7 @@ def _handle(txt):
sys.stdout.write(repr(eval(tmp,handle.glob))) sys.stdout.write(repr(eval(tmp,handle.glob)))
except: except:
try: try:
exec txt,handle.glob exec txt in handle.glob
except Exception as ex: except Exception as ex:
error(ex) error(ex)