From 8eea7b3ee01a7148cc97904ed0939865594dd71e Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Sat, 29 Jul 2023 13:40:42 -0400 Subject: [PATCH] Fix a crash that prevented non-GitHub issues from being displayed. --- utilities/enissue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/enissue.py b/utilities/enissue.py index 0300010..598efc2 100755 --- a/utilities/enissue.py +++ b/utilities/enissue.py @@ -703,8 +703,8 @@ class Repo: self.api_id = "Gitea" if "github.com" in repo_url.lower(): echo0("WARNING: assuming Gitea but URL has github.com.") - echo0(" * assuming API is {} for {}" - "".format(self.api_id, )) + echo0(" * assuming API is {} due to non-GitHub URL {}" + "".format(self.api_id, repo_url)) if self.api_id is None: raise RuntimeError("api_id is not set") api_meta = apis.get(self.api_id)