From 97293a56659980afb3f5a414cd2ede5526f53f66 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 24 May 2013 20:26:56 +0000 Subject: Append .git --- diff --git a/repos.py b/repos.py index 2595de7..e459bea 100644 --- a/repos.py +++ b/repos.py @@ -21,7 +21,8 @@ def get_by_url(url): return repo if url.startswith("https://github.com"): - if repo.url == url.replace("https://", "git://"): + git_protocol_url = url.replace("https://", "git://") + ".git" + if repo.url == git_protocol_url: return repo return None -- cgit v0.9.1