1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

fix output in http_debug mode for pubkey not found

Variable e is not known at the time of the call and
e.strerror is None nevertheless. So just ommit e.strerror.
This commit is contained in:
lethliel 2019-11-13 11:17:08 +01:00
parent f78057e2d5
commit 50891392ce

View File

@ -286,7 +286,7 @@ class Fetcher:
if try_parent:
if self.http_debug:
print("can't fetch key for %s: %s" % (i, e.strerror), file=sys.stderr)
print("can't fetch key for %s" % (i), file=sys.stderr)
print("url: %s" % url, file=sys.stderr)
if os.path.exists(dest):