summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-13 09:29:12 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-13 09:29:12 +0000
commit073e65f5b4325ec6534fc0a2b336d7e72226446d (patch)
tree7027512ff518980325a5f08f6c5d3ea6675aa5ea
parent01a413c701330119b5bffaeecdf6aad177ca30e9 (diff)
seppuku: remove extra '?' that confuses bugzilla
-rw-r--r--classes/seppuku.bbclass4
1 files 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