diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-05-24 20:01:36 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-05-24 20:01:36 (GMT) |
commit | d6661558ee7c983df0c173c51c45868472dde3ab (patch) | |
tree | 81a4c58700ebcefc8c9245e6122b9ed7967ff975 | |
parent | d3219b5b1e7075f5bffa461ba4b58eca76a63cc3 (diff) |
Revert "In replace old string is the second arg"
This reverts commit d3219b5b1e7075f5bffa461ba4b58eca76a63cc3.
-rw-r--r-- | repos.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ def get_by_url(url): return repo if url.startswith("https://github.com"): - if repo.url == url.replace("git://", "https://"): + if repo.url == url.replace("https://", "git://"): return repo return None |