From ffb93815101be88c31ab2d814dbe795b28ccc45c Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 24 May 2013 19:46:27 +0000 Subject: Reverse https/git substitution --- 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 -- cgit v0.9.1