diff options
author | martinko | 2013-05-17 13:10:31 +0000 |
---|---|---|
committer | martinko | 2013-05-17 13:10:31 +0000 |
commit | 0bcaf3c69696c13d3b287e6c615e30ad8be95445 (patch) | |
tree | adecf48619323381c0d542ac5bd3f9bb45617e88 | |
parent | 6e9b7c2264d45b92f57e83e956a30c2a3851121b (diff) |
londiste.playback: support multiple -v options for workers
-rw-r--r-- | python/londiste/playback.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/londiste/playback.py b/python/londiste/playback.py index 1c60c97b..c262de53 100644 --- a/python/londiste/playback.py +++ b/python/londiste/playback.py @@ -874,7 +874,7 @@ class Replicator(CascadedWorker): return None def launch_copy(self, tbl_stat): - """Run paraller worker for copy.""" + """Run parallel worker for copy.""" self.log.info("Launching copy process") script = sys.argv[0] conf = self.cf.filename @@ -883,8 +883,7 @@ class Replicator(CascadedWorker): # pass same verbosity options as main script got if self.options.quiet: cmd.append('-q') - if self.options.verbose: - cmd.append('-v') + cmd += self.options.verbose * ['-v'] # let existing copy finish and clean its pidfile, # otherwise new copy will exit immediately. |