diff options
| author | Martin Pihlak | 2009-03-05 10:15:38 +0000 |
|---|---|---|
| committer | Martin Pihlak | 2009-03-05 10:15:38 +0000 |
| commit | 7ebafed2d2051f3b133160abc4d0b052a5322968 (patch) | |
| tree | d776b8e3e96292763a0f2c46e458cafb3b8c57ff /python | |
| parent | 948ed1ec1134a7a276371c036654416779d1669b (diff) | |
- bring londiste.ini up to date
- bring londiste help message more up to date
- add --help hint for DBScript start error msg
- bump pgq version to 3.0devel
Diffstat (limited to 'python')
| -rw-r--r-- | python/conf/londiste.ini | 4 | ||||
| -rwxr-xr-x | python/londiste.py | 4 | ||||
| -rw-r--r-- | python/skytools/scripting.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/python/conf/londiste.ini b/python/conf/londiste.ini index 7be8390e..710b1c93 100644 --- a/python/conf/londiste.ini +++ b/python/conf/londiste.ini @@ -2,9 +2,9 @@ [londiste] job_name = somedb_worker -node_db = dbname=somedb host=127.0.0.1 +db = dbname=somedb host=127.0.0.1 -set_name = some_set +queue_name = some_queue logfile = ~/log/%(job_name)s.log pidfile = ~/pid/%(job_name)s.pid diff --git a/python/londiste.py b/python/londiste.py index 62f434e9..48e591ed 100755 --- a/python/londiste.py +++ b/python/londiste.py @@ -17,8 +17,8 @@ Replication Daemon: worker replay events to subscriber Replication Administration: - add TBL ... add table to queue - remove TBL ... remove table from queue + add-table TBL ... add table to queue + remove-table TBL ... remove table from queue add-seq SEQ ... add sequence to provider remove-seq SEQ ... remove sequence from provider tables show all tables on provider diff --git a/python/skytools/scripting.py b/python/skytools/scripting.py index 4d45107f..20a6e3fd 100644 --- a/python/skytools/scripting.py +++ b/python/skytools/scripting.py @@ -302,7 +302,7 @@ class DBScript(object): if self.options.verbose: self.log_level = logging.DEBUG if len(self.args) < 1: - print("need config file") + print("need config file, use --help for help.") sys.exit(1) # read config file |
