diff options
author | Robert Buchholz <rbu@gentoo.org> | 2008-06-16 21:50:49 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2008-06-16 21:50:49 +0000 |
commit | 0bd024b6bb9f4c05f8f72df3502ed4ee92f8e80c (patch) | |
tree | 5ff269509d247bc6ffb70ff6cb3ccb941401abb5 /bin | |
parent | Bug references, NFUs (diff) | |
download | security-0bd024b6bb9f4c05f8f72df3502ed4ee92f8e80c.tar.gz security-0bd024b6bb9f4c05f8f72df3502ed4ee92f8e80c.tar.bz2 security-0bd024b6bb9f4c05f8f72df3502ed4ee92f8e80c.zip |
Sanitize whiteboard parsing, the non-empty case
would be recognized wrong.
svn path=/; revision=573
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/target | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -105,8 +105,11 @@ def cc_arches_to(bugno, username, message, cc_add): password = None, forget = False) bug_xml = bz.get(bugno) + if not bug_xml: + print "Could not find bug %s" % (bugno) + return whiteboard = bug_xml.find('//status_whiteboard') - if whiteboard: + if not whiteboard is None: whiteboard = whiteboard.text new_whiteboard = re.sub("(ebuild|upstream|stable\?)", "stable", whiteboard) else: |