mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-05 07:03:38 +02:00
conf: If apiurl is not set in interactive_config_setup(), use apiurl from DEFAULTS
This commit is contained in:
@@ -972,6 +972,9 @@ def identify_conf():
|
||||
|
||||
|
||||
def interactive_config_setup(conffile, apiurl, initial=True):
|
||||
if not apiurl:
|
||||
apiurl = DEFAULTS["apiurl"]
|
||||
|
||||
scheme = urlsplit(apiurl)[0]
|
||||
http = scheme == "http"
|
||||
if http:
|
||||
|
Reference in New Issue
Block a user