mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
Fix copy-paste error
This commit is contained in:
parent
346b754941
commit
588efa69fc
@ -883,7 +883,7 @@ def get_config(override_conffile=None,
|
||||
apiurl = aliases.get(config['apiurl'], config['apiurl'])
|
||||
config['apiurl'] = urljoin(*parse_apisrv_url(None, apiurl))
|
||||
# backward compatibility
|
||||
if key in config:
|
||||
if 'apisrv' in config:
|
||||
apisrv = config['apisrv'].lstrip('http://')
|
||||
apisrv = apisrv.lstrip('https://')
|
||||
scheme = config.get('scheme', 'https')
|
||||
|
Loading…
Reference in New Issue
Block a user