diff options
author | Marko Kreen | 2011-02-11 13:29:20 +0000 |
---|---|---|
committer | Marko Kreen | 2011-02-11 13:54:01 +0000 |
commit | c49b0439b737efe327f8a5e8b4d940a3d9111977 (patch) | |
tree | 247128192e692abf3778cc9d3ea481f78e358717 | |
parent | db53e59f5587e80add471bdf0a8f492a8be73aa3 (diff) |
serialconsumer: fix batch_info usage
-rw-r--r-- | python/pgq/remoteconsumer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pgq/remoteconsumer.py b/python/pgq/remoteconsumer.py index daa087e9..a676b5a1 100644 --- a/python/pgq/remoteconsumer.py +++ b/python/pgq/remoteconsumer.py @@ -136,7 +136,7 @@ class SerialConsumer(Consumer): """Helper function to set last successful batch in external database. """ - tick_id = self.cur_batch_info['tick_id'] + tick_id = self.batch_info['tick_id'] self.set_last_tick(dst_curs, tick_id) def register_consumer(self): |