From 835d1d037f3a763a05348f5fa9d10fa294a0064a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 1 Apr 2014 12:34:21 +0000 Subject: Fix GitanoCommand access to localhost in givemejob --- lorrycontroller/givemejob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) -- cgit v1.2.1