Require [londiste3] in londiste config.
authorMarko Kreen <markokr@gmail.com>
Tue, 27 Apr 2010 10:41:49 +0000 (13:41 +0300)
committerMarko Kreen <markokr@gmail.com>
Tue, 27 Apr 2010 10:41:49 +0000 (13:41 +0300)
python/londiste.py
python/londiste/playback.py
python/londiste/setup.py
python/londiste/syncer.py

index c2907d2bb7d31169cc6e5645eb7132c47547d9db..a224be2f4a7faedf7c28727207c86735670a04b2 100755 (executable)
@@ -56,7 +56,7 @@ cmd_handlers = (
 
 class Londiste(skytools.DBScript):
     def __init__(self, args):
-        skytools.DBScript.__init__(self, 'londiste', args)
+        skytools.DBScript.__init__(self, 'londiste3', args)
 
         if len(self.args) < 2:
             print("need command")
index e7bc14062938002c704e148c23c3b0b1a19e8301..04e2c6991f853e9fdd6369d2e2badf004a7b15b2 100644 (file)
@@ -261,7 +261,7 @@ class Replicator(CascadedWorker):
 
     def __init__(self, args):
         """Replication init."""
-        CascadedWorker.__init__(self, 'londiste', 'db', args)
+        CascadedWorker.__init__(self, 'londiste3', 'db', args)
 
         self.table_list = []
         self.table_map = {}
index c0e84e54c573e2549404e3e61f38275ab4db2583..b7e7b966dd8cdb320fbbd7bfd5f3f622667f43f6 100644 (file)
@@ -17,7 +17,7 @@ class LondisteSetup(CascadeAdmin):
     provider_location = None
     def __init__(self, args):
         """Londiste setup init."""
-        CascadeAdmin.__init__(self, 'londiste', 'db', args, worker_setup = True)
+        CascadeAdmin.__init__(self, 'londiste3', 'db', args, worker_setup = True)
 
         # compat
         self.queue_name = self.cf.get('pgq_queue_name', '')
index bae1fa5635e0f8792bf11d07b90f917790cd6276..5bce2485b6554bb7c2774168420b9e8ed402cf4a 100644 (file)
@@ -9,7 +9,7 @@ class Syncer(skytools.DBScript):
 
     def __init__(self, args):
         """Syncer init."""
-        skytools.DBScript.__init__(self, 'londiste', args)
+        skytools.DBScript.__init__(self, 'londiste3', args)
         self.set_single_loop(1)
 
         # compat names