diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-02 01:52:51 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-02 01:52:51 +0200 |
commit | 06a32f511caa32ed72e999aae0c0d09afb59d493 (patch) | |
tree | fbdcf715af79e6a7023bcc5e109a4e61528b3c4f /MgaRepo | |
parent | a9932d0dffae1279b5260f238c71fe66fce9cad7 (diff) | |
download | mgarepo-06a32f511caa32ed72e999aae0c0d09afb59d493.tar mgarepo-06a32f511caa32ed72e999aae0c0d09afb59d493.tar.gz mgarepo-06a32f511caa32ed72e999aae0c0d09afb59d493.tar.bz2 mgarepo-06a32f511caa32ed72e999aae0c0d09afb59d493.tar.xz mgarepo-06a32f511caa32ed72e999aae0c0d09afb59d493.zip |
fix incorrect naming of targetpath variable
Diffstat (limited to 'MgaRepo')
-rw-r--r-- | MgaRepo/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
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"] |