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:57:37 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-05-24 19:57:37 (GMT)
commitd3219b5b1e7075f5bffa461ba4b58eca76a63cc3 (patch)
treecffb7c9dd587733f56e739dcb59888ec32ef6d06
parentffb93815101be88c31ab2d814dbe795b28ccc45c (diff)
In replace old string is the second arg
-rw-r--r--repos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repos.py b/repos.py
index 2595de7..3b1be19 100644
--- a/repos.py
+++ b/repos.py
@@ -21,7 +21,7 @@ def get_by_url(url):
return repo
if url.startswith("https://github.com"):
- if repo.url == url.replace("https://", "git://"):
+ if repo.url == url.replace("git://", "https://"):
return repo
return None