diff options
-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 |