diff options
author | Marko Kreen | 2008-04-15 13:02:47 +0000 |
---|---|---|
committer | Marko Kreen | 2008-04-15 13:02:47 +0000 |
commit | 329cae98ec32cd9369cab54a3b597d50fd280562 (patch) | |
tree | 123d6cb60abbc445926956e77d2dc0318483e36e /python/skytools/scripting.py | |
parent | 3bb252361d1595e2b882c3fae9602d866a8c553b (diff) |
more setconsumer/londiste work.
simple init/event processing/copy seems to work.
Diffstat (limited to 'python/skytools/scripting.py')
-rw-r--r-- | python/skytools/scripting.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/skytools/scripting.py b/python/skytools/scripting.py index cb6ee802..3a3556a2 100644 --- a/python/skytools/scripting.py +++ b/python/skytools/scripting.py @@ -510,6 +510,8 @@ class DBScript(object): if self.looping and not self.do_single_loop: time.sleep(20) return 1 + else: + sys.exit(1) def work(self): """Here should user's processing happen. |