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:
parent
f78057e2d5
commit
50891392ce
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user