diff options
| author | Lieuwe <lieuwemo@gmail.com> | 2011-03-05 14:09:15 (GMT) |
|---|---|---|
| committer | Lieuwe <lieuwemo@gmail.com> | 2011-03-05 14:09:15 (GMT) |
| commit | 85a2ba9a6e64b738337a500c3eb0c69a9ad6ecfe (patch) | |
| tree | cd7c23fe7b32402842ed3856825b0d6b37ed3153 /src/python | |
| parent | 04f4a0d9fe90533d583d118a907122cb2060bf02 (diff) | |
| download | powder-85a2ba9a6e64b738337a500c3eb0c69a9ad6ecfe.zip powder-85a2ba9a6e64b738337a500c3eb0c69a9ad6ecfe.tar.gz | |
implemented a step hook and modified the makefile to call getheader.py
Diffstat (limited to 'src/python')
| -rw-r--r-- | src/python/tpt_console.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/python/tpt_console.py b/src/python/tpt_console.py index 864fed8..a854756 100644 --- a/src/python/tpt_console.py +++ b/src/python/tpt_console.py @@ -1,6 +1,5 @@ import tpt from tpt import * -from utils import * import sys import code import ctypes @@ -75,3 +74,18 @@ def _handle(txt): exec txt in handle.glob except Exception as ex: error(ex) + +def step(): + try: + a=handle.glob + except: + clean() + try: + _step() + except Exception as ex: + error(ex) + +def _step(): + #print "handling '%s'"%txt + #print "step" + toggle_pause() |
