summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/londiste/playback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/londiste/playback.py b/python/londiste/playback.py
index 57d6d460..a7af4165 100644
--- a/python/londiste/playback.py
+++ b/python/londiste/playback.py
@@ -313,7 +313,7 @@ class Replicator(CascadedWorker):
if res == SYNC_EXIT:
self.log.debug('Sync tables: exit')
- if not self.copy_thread:
+ if self.copy_thread:
self.unregister_consumer()
src_db.commit()
sys.exit(0)