Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--repos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repos.py b/repos.py
index 1673ba6..2595de7 100644
--- a/repos.py
+++ b/repos.py
@@ -20,8 +20,8 @@ def get_by_url(url):
if repo.url == url:
return repo
- if url.startswith("git://github.com"):
- if repo.url == url.replace("git://", "https://"):
+ if url.startswith("https://github.com"):
+ if repo.url == url.replace("https://", "git://"):
return repo
return None