From 8e8cdb4620baf3c7b50c50c6b7fc6918058f740c Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Tue, 3 May 2022 21:26:31 -0400 Subject: [PATCH] Restore python2 support by removing a non-ASCII character (Fix #571). --- utilities/enissue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utilities/enissue.py b/utilities/enissue.py index bb05f36..5b23e15 100755 --- a/utilities/enissue.py +++ b/utilities/enissue.py @@ -160,8 +160,8 @@ def gitea_ts_to_dt(timestamp_s): timestamp_s = timestamp_s[:colonNegI] + timestamp_s[colonNegI+1:] ''' Remove the non-python-like : from %z - %z is "+0000 UTC offset in the form ±HHMM[SS[.ffffff]] (empty - string if the object is naive)." + %z is "+0000 UTC offset in the form ?HHMM[SS[.ffffff]] (empty + string if the object is naive)." where '?' is +/- - ''' return datetime.strptime(timestamp_s, giteaSanitizedDtFmt) @@ -2311,7 +2311,7 @@ def main(custom_args=None): total_count = 0 print() # ^ This blank line goes after "@ Cache" messages and before - # the issues list. + # the list items or other output. if mode == "labels": if repo.labels is None: print("There were no labels.")