From 073e65f5b4325ec6534fc0a2b336d7e72226446d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 13 Aug 2007 09:29:12 +0000 Subject: seppuku: remove extra '?' that confuses bugzilla --- classes/seppuku.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass index 7ae1458b89..7e4b2098be 100644 --- a/classes/seppuku.bbclass +++ b/classes/seppuku.bbclass @@ -129,7 +129,7 @@ def seppuku_find_bug_report(debug_file, opener, query, product, component, bugna component = urllib.quote(component) bugname = urllib.quote(bugname) - result = opener.open("%(query)s?product=%(product)s&component=%(component)s&short_desc_type=substring&short_desc=%(bugname)s" % vars()) + result = opener.open("%(query)sproduct=%(product)s&component=%(component)s&short_desc_type=substring&short_desc=%(bugname)s" % vars()) if result.code != 200: raise "Can not query the bugzilla at all" txt = result.read() @@ -137,7 +137,7 @@ def seppuku_find_bug_report(debug_file, opener, query, product, component, bugna scanner.feed(txt) if len(scanner.result()) == 0: print >> debug_file, "Scanner failed to scan the html site" - print >> debug_file, "%(query)s?product=%(product)s&component=%(component)s&short_desc_type=substring&short_desc=%(bugname)s" % vars() + print >> debug_file, "%(query)sproduct=%(product)s&component=%(component)s&short_desc_type=substring&short_desc=%(bugname)s" % vars() print >> debug_file, txt return (False,None) else: # silently pick the first result -- cgit v1.2.3