diff options
| author | Lieuwe <lieuwemo@gmail.com> | 2011-02-26 20:33:43 (GMT) |
|---|---|---|
| committer | Lieuwe <lieuwemo@gmail.com> | 2011-02-26 20:33:43 (GMT) |
| commit | 3ff776577ca1921b232eaa21b78efdc808d5c297 (patch) | |
| tree | 8a2ba7df982d0e202d61f1105565a5af390037d1 | |
| parent | 7d615c2a870dc930b0957669b49670f9c28999c5 (diff) | |
| download | powder-3ff776577ca1921b232eaa21b78efdc808d5c297.zip powder-3ff776577ca1921b232eaa21b78efdc808d5c297.tar.gz | |
persistence
| -rw-r--r-- | build/tpt_console.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/tpt_console.py b/build/tpt_console.py index 655c108..31c2522 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) |
