summaryrefslogtreecommitdiff
path: root/lorrycontroller
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-10 17:19:04 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-10 17:19:04 +0100
commit3a128a0e70307ab8e7d0e2ac6b06e76e805b828f (patch)
tree223e78688dc71c2d3a8c846769665c6257cb1ce6 /lorrycontroller
parent312a0f484a688d7af4f904064c38311d58bc1c37 (diff)
downloadlorry-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.py2
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 != ""]: