diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-30 22:48:20 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-30 22:48:20 +0200 |
commit | 125d343b51691109745cecd6660c6e0d259ab929 (patch) | |
tree | 6d3752a4c621268304e2f52794b867fff2fbcf15 /MgaRepo/git.py | |
parent | 40c68f9aea2e3ae9d8a41b88f9626eb2f01f4018 (diff) | |
download | mgarepo-125d343b51691109745cecd6660c6e0d259ab929.tar mgarepo-125d343b51691109745cecd6660c6e0d259ab929.tar.gz mgarepo-125d343b51691109745cecd6660c6e0d259ab929.tar.bz2 mgarepo-125d343b51691109745cecd6660c6e0d259ab929.tar.xz mgarepo-125d343b51691109745cecd6660c6e0d259ab929.zip |
add url to VCS class
Diffstat (limited to 'MgaRepo/git.py')
-rw-r--r-- | MgaRepo/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/git.py b/MgaRepo/git.py index 01f21f0..3576893 100644 --- a/MgaRepo/git.py +++ b/MgaRepo/git.py @@ -19,8 +19,8 @@ class GITLogEntry(VCSLogEntry): class GIT(VCS): vcs_dirname = ".git" vcs_name = "git" - def __init__(self, path=os.path.curdir): - VCS.__init__(self, path) + def __init__(self, path=None, url=None): + VCS.__init__(self, path, url) self.vcs_command = config.get("global", "git-command", ["git"]) self.vcs_supports['clone'] = True self.env_defaults = {"GIT_SSH": self.vcs_wrapper} |