From 06a32f511caa32ed72e999aae0c0d09afb59d493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Thu, 2 Jun 2016 01:52:51 +0200 Subject: fix incorrect naming of targetpath variable --- MgaRepo/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MgaRepo') diff --git a/MgaRepo/git.py b/MgaRepo/git.py index 515fae4..45c628d 100644 --- a/MgaRepo/git.py +++ b/MgaRepo/git.py @@ -77,7 +77,7 @@ class GIT(VCS): return [(x[0], x[8:]) for x in output.splitlines()] return None - def update(self, path, **kwargs): + def update(self, targetpath, **kwargs): os.environ.update({"GIT_WORK_TREE" : abspath(targetpath), "GIT_DIR" : join(abspath(targetpath),".git")}) cmd = ["svn", "log", "--oneline", "--limit=1"] -- cgit v1.2.1