From d3219b5b1e7075f5bffa461ba4b58eca76a63cc3 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 24 May 2013 19:57:37 +0000 Subject: In replace old string is the second arg --- 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 -- cgit v0.9.1