diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-10-10 17:19:04 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-10-10 17:19:04 +0100 |
commit | 3a128a0e70307ab8e7d0e2ac6b06e76e805b828f (patch) | |
tree | 223e78688dc71c2d3a8c846769665c6257cb1ce6 /lorrycontroller | |
parent | 312a0f484a688d7af4f904064c38311d58bc1c37 (diff) | |
download | lorry-controller-3a128a0e70307ab8e7d0e2ac6b06e76e805b828f.tar.gz |
Support destroying dead lorries. Also fix up dry-run a bit more
Diffstat (limited to 'lorrycontroller')
-rw-r--r-- | lorrycontroller/confparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lorrycontroller/confparser.py b/lorrycontroller/confparser.py index e3132e1..00a9fe1 100644 --- a/lorrycontroller/confparser.py +++ b/lorrycontroller/confparser.py @@ -194,7 +194,7 @@ class LorryControllerConfig(object): "--verbose"] state['next-vls'] = state.get('next-vls', now - 1) if state['next-vls'] < now: - exit, out, err = self.app.maybe_runcmd(listcmdargs) + exit, out, err = self.app.maybe_runcmd(listcmdargs, dry=True) if exit == 0: repo_info = {} for entry in [x for x in out.split("\n") if x != ""]: |