From f7d91feebf1bd4e542c438e413257730686f9966 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 16 Oct 2021 12:47:01 +0300 Subject: fix an editing fuck-up --- cgitize/repo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3