From 584d737de9b35c081950a54091ea58d446bcc97a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 19 Feb 2019 07:02:19 +0100 Subject: [PATCH] Need apiurl for staging report Having suse and opensuse bots on the same service requires to differ by apiurl --- staging-report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/staging-report.py b/staging-report.py index 1081dd2a..6fed2867 100755 --- a/staging-report.py +++ b/staging-report.py @@ -142,10 +142,11 @@ if __name__ == '__main__': help='project to check (ex. openSUSE:Factory, openSUSE:Leap:15.1)') parser.add_argument('-d', '--debug', action='store_true', default=False, help='enable debug information') + parser.add_argument('-A', '--apiurl', metavar='URL', help='API URL') args = parser.parse_args() - osc.conf.get_config() + osc.conf.get_config(override_apiurl=args.apiurl) osc.conf.config['debug'] = args.debug apiurl = osc.conf.config['apiurl']