diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-16 12:47:01 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-16 12:47:01 +0300 |
commit | f7d91feebf1bd4e542c438e413257730686f9966 (patch) | |
tree | 0ab8e84fdeca22394be2b2b044df8afe966d0f3c | |
parent | test/unit: add Gitlab unit tests (diff) | |
download | cgitize-f7d91feebf1bd4e542c438e413257730686f9966.tar.gz cgitize-f7d91feebf1bd4e542c438e413257730686f9966.zip |
fix an editing fuck-up
-rw-r--r-- | cgitize/repo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cgitize/repo.py b/cgitize/repo.py index 23098d4..d926ee9 100644 --- a/cgitize/repo.py +++ b/cgitize/repo.py @@ -53,7 +53,8 @@ class Repo: https_url = url_remove_auth(https_urls[0]['href']) ssh_urls = [link for link in src['links']['clone'] if link ['name'] == 'ssh'] - if len(ssh_urls) != 1: raise RuntimeError(f"no ssh:// clone URL for repository '{name}'?!") + if len(ssh_urls) != 1: + raise RuntimeError(f"no ssh:// clone URL for repository '{name}'?!") ssh_url = ssh_urls[0]['href'] clone_url = ssh_url if config.main.clone_via_ssh else https_url |