From 804db37dd4900f660fd0696ae403104ce0c2ad18 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 8 Sep 2022 14:02:50 +0200 Subject: [PATCH] Add missing 'apiurl' argument when creating CookieJarAuthHandler instance in build.py --- osc/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/build.py b/osc/build.py index 5160ebda..fab14b13 100644 --- a/osc/build.py +++ b/osc/build.py @@ -1079,7 +1079,7 @@ def main(apiurl, opts, argv): http_debug = config['http_debug'], modules = bi.modules, 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) if not opts.trust_all_projects: