1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-03 18:16:17 +01:00

declare OscHTTPSignatureAuthHandler as a new-style class

remove illegal character in comment
This commit is contained in:
lethliel 2022-06-14 13:41:13 +02:00
parent 1c6564f717
commit d9e2d958c1

View File

@ -554,7 +554,7 @@ def _build_opener(apiurl):
self.retried = 0
return response
class OscHTTPSignatureAuthHandler(BaseHandler):
class OscHTTPSignatureAuthHandler(BaseHandler, object):
def __init__(self, user, sshkey):
super(self.__class__, self).__init__()
self.user = user
@ -1146,7 +1146,7 @@ def get_config(override_conffile=None,
else:
api_host_options[apiurl]['trusted_prj'] = []
# ⚠️ This option is experimental and may be removed at any time in the future!
# This option is experimental and may be removed at any time in the future!
# This allows overriding the download url for an OBS instance to specify a closer mirror
# or proxy system, which can greatly improve download performance, latency and more.
# For example, this can use https://github.com/Firstyear/opensuse-proxy-cache in a local