Commit 2fec722e by Jason Bau

Merge pull request #94 from edx/sef/versionpy-other-git-protos

version.py: remote repo fix for http remotes
parents 1cc75f50 d45f3361
......@@ -96,7 +96,7 @@ def main():
for line in remote_output.splitlines():
if ' (fetch)' in line:
repo_url = re.search(
'git@(.*) \(fetch\)', line).group(1).replace(
'(git@|git://)(.*) \(fetch\)', line).group(2).replace(
':', '/')
break
if not repo_url:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment