From fbd1fca228caa2412ff36e8e2548189fa312e79b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20H=C3=BCwe?= Date: Sat, 12 Sep 2009 23:58:56 +0000 Subject: [PATCH] - use correct apiurl when calling meta_exists() --- osc/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/build.py b/osc/build.py index b3a13e59..0f4ede40 100644 --- a/osc/build.py +++ b/osc/build.py @@ -378,9 +378,9 @@ def main(opts, argv): if e.code == 404: # check what caused the 404 if meta_exists(metatype='prj', path_args=(quote_plus(prj), ), - template_args=None, create_new=False): + template_args=None, create_new=False, apiurl=apiurl): if pac == '_repository' or meta_exists(metatype='pkg', path_args=(quote_plus(prj), quote_plus(pac)), - template_args=None, create_new=False): + template_args=None, create_new=False, apiurl=apiurl): print >>sys.stderr, 'wrong repo/arch?' sys.exit(1) else: