mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-24 11:12:14 +01:00
Merge pull request #1137 from dmach/osc-build-apiurl-fix
Add missing 'apiurl' argument when creating CookieJarAuthHandler instance in build.py
This commit is contained in:
commit
a11a2b5702
@ -1079,7 +1079,7 @@ def main(apiurl, opts, argv):
|
|||||||
http_debug = config['http_debug'],
|
http_debug = config['http_debug'],
|
||||||
modules = bi.modules,
|
modules = bi.modules,
|
||||||
enable_cpio=not opts.disable_cpio_bulk_download and bi.enable_cpio,
|
enable_cpio=not opts.disable_cpio_bulk_download and bi.enable_cpio,
|
||||||
cookiejar=connection.CookieJarAuthHandler(os.path.expanduser(conf.config["cookiejar"]))._cookiejar,
|
cookiejar=connection.CookieJarAuthHandler(apiurl, os.path.expanduser(conf.config["cookiejar"]))._cookiejar,
|
||||||
download_api_only=opts.download_api_only)
|
download_api_only=opts.download_api_only)
|
||||||
|
|
||||||
if not opts.trust_all_projects:
|
if not opts.trust_all_projects:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user