diff options
author | Holger Freyther <zecke@selfish.org> | 2007-03-06 23:56:27 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-03-06 23:56:27 +0000 |
commit | b7d3b2793c6142f295862593a1c9c3544139a79f (patch) | |
tree | e700efc74116c1c93891cc02d2dcbc879c0d3d3a /classes | |
parent | ece45d505cbad3529e2ed081049fa4d9f1165ed2 (diff) |
conf/documentation.conf: Document the keys influencing seppuku.bbclass
Diffstat (limited to 'classes')
-rw-r--r-- | classes/seppuku.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass index 716fdabe0d..9fdcbbd236 100644 --- a/classes/seppuku.bbclass +++ b/classes/seppuku.bbclass @@ -123,7 +123,7 @@ def seppuku_reopen_bug(opener, file, product, component, bug_number, bugname, te import urllib param = urllib.urlencode( { "product" : product, "component" : component, "longdesclength" : 2, - "short_desc" : bugname, "comment" : text, "knob" : "reopen" } ) + "short_desc" : bugname, "comment" : text, "knob" : "reopen", "id" : bug_number } ) result = opener.open( file + param ) if result.code != 200: return False @@ -184,8 +184,8 @@ python seppuku_do_report() { opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) login = bb.data.getVar("SEPPUKU_LOGIN", data, True) query = bb.data.getVar("SEPPUKU_QUERY", data, True) - file = bb.data.getVar("SEPPUKU_FILE", data, True) - post = bb.data.getVar("SEPPUKU_POST", data, True) + newbug = bb.data.getVar("SEPPUKU_NEWREPORT", data, True) + reopen = bb.data.getVar("SEPPUKU_ADDCOMMENT", data, True) user = bb.data.getVar("SEPPUKU_USER", data, True) pass = bb.data.getVar("SEPPUKU_PASS", data, True) product = bb.data.getVar("SEPPUKU_PRODUCT", data, True) @@ -218,9 +218,9 @@ python seppuku_do_report() { return NotHandled if bug_number and not bug_open: - if not seppuku_reopen_bug(opener, file, product, component, bug_number, bugname, text): + if not seppuku_reopen_bug(opener, reopen, product, component, bug_number, bugname, text): bb.note("Failed to reopen the bug report") - else seppuku_file_bug(opener, file, product, component, bugname, text): + else seppuku_file_bug(opener, newbug, product, component, bugname, text): bb.note("Filing a bugreport failed") return NotHandled |