diff --git a/osc/commandline.py b/osc/commandline.py index ee68b0e7..871e8b19 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1856,7 +1856,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. print('created request id', result) if conf.config['print_web_links']: - obs_url = _private.get_configuration_option(apiurl, "obs_url") + obs_url = _private.get_configuration_value(apiurl, "obs_url") print(f"{obs_url}/request/show/{result}") if supersede_existing: @@ -3650,7 +3650,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. r = create_maintenance_request(apiurl, source_project, source_packages, target_project, release_project, opt_sourceupdate, opts.message, opts.enforce_branching) print(r.reqid) if conf.config['print_web_links']: - obs_url = _private.get_configuration_option(apiurl, "obs_url") + obs_url = _private.get_configuration_value(apiurl, "obs_url") print(f"{obs_url}/request/show/{r.reqid}") if supersede_existing: @@ -4578,7 +4578,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. else: raise oscerr.WrongArgs('Wrong number of arguments') - download_url = _private.get_configuration_option(apiurl, "download_url") + download_url = _private.get_configuration_value(apiurl, "download_url") url_deb_tmpl = 'deb ' + download_url + '/%s/%s/ /' url_arch_tmpl = 'Server=' + download_url + '/%s/%s/$arch'