persistence
This commit is contained in:
parent
bda76e2e4e
commit
5e7939f75d
@ -95,10 +95,10 @@ def handle(txt):
|
|||||||
def _handle(txt):
|
def _handle(txt):
|
||||||
#print "handling '%s'"%txt
|
#print "handling '%s'"%txt
|
||||||
try:
|
try:
|
||||||
sys.stdout.write(repr(eval(tmp)))
|
sys.stdout.write(repr(eval(tmp,handle.glob)))
|
||||||
except:
|
except:
|
||||||
try:
|
try:
|
||||||
exec txt
|
exec txt,handle.glob
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
error(ex)
|
error(ex)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user