summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-31 14:39:19 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-31 14:39:19 +0000
commitd7d26e192e7ea83f0bfcb4676fb299dc2f5ffd45 (patch)
treee5813532f677fbba2511cdd7ba77c4b3f503f890
parentf423549ddbe4186ab86d26ca0e8475b68c853445 (diff)
downloadlorry-controller-d7d26e192e7ea83f0bfcb4676fb299dc2f5ffd45.tar.gz
Fixes in GitanoCommand
-rw-r--r--lorrycontroller/gitano.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lorrycontroller/gitano.py b/lorrycontroller/gitano.py
index c0cccba..e0de196 100644
--- a/lorrycontroller/gitano.py
+++ b/lorrycontroller/gitano.py
@@ -14,6 +14,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+import collections
import logging
import cliapp
@@ -40,7 +41,7 @@ class GitanoCommand(object):
def create(self, repo_path):
self._ssh_command(['create', repo_path])
- def get_gitano_config_for_repo(self, repo_path):
+ def get_gitano_config(self, repo_path):
stdout = self._ssh_command(['config', repo_path, 'show'])
# "config REPO show" outputs a sequence of lines of the form "key: value".
@@ -54,7 +55,7 @@ class GitanoCommand(object):
return result
- def set_gitano_config_for_repo(self, path, key, value):
+ def set_gitano_config(self, path, key, value):
self._ssh_command(['config', path, 'set', key, value])
def ls(self):