Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2013-05-24 19:46:27 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-05-24 19:46:27 (GMT)
commitffb93815101be88c31ab2d814dbe795b28ccc45c (patch)
tree81a4c58700ebcefc8c9245e6122b9ed7967ff975
parent17a6c4210560285445e4de539214bf2eb6d5c513 (diff)
Reverse https/git substitution
-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