=== modified file 'bugHelper/HTMLOperations.py' --- bugHelper/HTMLOperations.py 2007-01-24 17:05:06 +0000 +++ bugHelper/HTMLOperations.py 2007-01-24 22:20:00 +0000 @@ -91,6 +91,11 @@ titleFilter = 'Bug #[0-9]* in (.*?) .*: .*' filteredSourcePackage = re.findall(titleFilter, self.text) self.sourcepackage = filteredSourcePackage[0] + + infoFilter = '<tr class="highlight">.*<td class="status.*>(.*)</td>' \ + '\s+<td class="importance.*">(.*)</td>\s+<td' + filteredInfos = re.findall(infoFilter, re.sub("\n", "", self.text)) + self.info = filteredInfos[0] if attachments: download_link = '<li class="download">.*\n.*<a href="(.*)">' === modified file 'bughelper' --- bughelper 2007-01-24 17:05:06 +0000 +++ bughelper 2007-01-24 22:20:00 +0000 @@ -62,8 +62,8 @@ for a in displayclues[displayclues.keys()[0]]], "\n") else: attachments = "" - print """http://launchpad.net/bugs/%s - %s -%s""" % (bugNum, displayclues.keys()[0], attachments) + print """http://launchpad.net/bugs/%s (%s/%s) - %s +%s""" % (bugNum, b.info[0], b.info[1], displayclues.keys()[0], attachments) else: print "http://launchpad.net/bugs/%s" % bugNum for dc in displayclues.keys():