aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2008-09-29 15:09:57 +0000
committerRobert Buchholz <rbu@gentoo.org>2008-09-29 15:09:57 +0000
commit9a92535db2393311dd17bb7b2b5770e49f7c6981 (patch)
tree3e7e72dc695a78997e90b77d64bd9636a2c97067 /bin
parentBUGS, BUGS, BUGS (diff)
downloadsecurity-9a92535db2393311dd17bb7b2b5770e49f7c6981.tar.gz
security-9a92535db2393311dd17bb7b2b5770e49f7c6981.tar.bz2
security-9a92535db2393311dd17bb7b2b5770e49f7c6981.zip
Fix brackets in re
svn path=/; revision=746
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check-todo-issues2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-todo-issues b/bin/check-todo-issues
index 177bb49..ff7980d 100755
--- a/bin/check-todo-issues
+++ b/bin/check-todo-issues
@@ -161,7 +161,7 @@ class EntryEditor:
return
bug_cves = self.bugreporter.get_bug_cves(bug, title = title)
total_cves = list(set(bug_cves + cves))
- new_title = "%s (%s)" % (BugReporter.CVEGROUPALL.sub('', re.sub('(CVEs? requested)'.strip(), '', title)),
+ new_title = "%s (%s)" % (BugReporter.CVEGROUPALL.sub('', re.sub('\(?CVEs? requested\)?'.strip(), '', title)),
self.bugs_unify_cvenames(total_cves))
description = ""
for cve in cves: