From a8f547b8e17b84753f0f0fe79b1ba23326fe53b0 Mon Sep 17 00:00:00 2001 From: Alberto Planas Date: Tue, 11 Feb 2014 11:44:59 +0100 Subject: [PATCH] More fixes in opts params --- osc-staging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc-staging.py b/osc-staging.py index 94e21287..dd6bd550 100644 --- a/osc-staging.py +++ b/osc-staging.py @@ -332,7 +332,7 @@ def _staging_check(self, project, check_everything, opts): if ret == 0 or check_everything: print "Getting build status, this may take a while" # Get staging project results - f = _get_build_res(opts.apiurl, project) + f = _get_build_res(opts, project) root = ET.fromstring(''.join(f)) # Get parent project @@ -357,7 +357,7 @@ def _staging_check(self, project, check_everything, opts): print >>sys.stderr, "Error: Can't get path for '%s'!"%results.get("repository") ret |= 4 continue - f = _get_build_res(opts.apiurl, p_project.get("project"), repo=results.get("repository"), arch=results.get("arch")) + f = _get_build_res(opts, p_project.get("project"), repo=results.get("repository"), arch=results.get("arch")) p_root = ET.fromstring(''.join(f)) # Find corresponding set of results in parent project