summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-01 12:34:21 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-01 12:34:21 +0000
commit835d1d037f3a763a05348f5fa9d10fa294a0064a (patch)
tree45564d073cdc31617a9abdf6f1975358c863584c
parentc5e8f7efc7b03df7cc34c4e746c97cb0ff7e7901 (diff)
downloadlorry-controller-liw/daemonise.tar.gz
Fix GitanoCommand access to localhost in givemejobliw/daemonise
-rw-r--r--lorrycontroller/givemejob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lorrycontroller/givemejob.py b/lorrycontroller/givemejob.py
index 590973a..430942e 100644
--- a/lorrycontroller/givemejob.py
+++ b/lorrycontroller/givemejob.py
@@ -90,7 +90,7 @@ class GiveMeJob(lorrycontroller.LorryControllerRoute):
assert lorry_info['from_path']
remote = self.new_gitano_command(statedb, lorry_info['from_trovehost'])
- local = self.new_gitano_command(statedb, 'localhost')
+ local = lorrycontroller.GitanoCommand('localhost', 'ssh', None, None)
try:
remote_config = remote.get_gitano_config(lorry_info['from_path'])