Skip to content

Commit cf6964d

Browse files
committed
backends/eopkg: Remove leading space requirement in cve find regex
1 parent 70ae254 commit cf6964d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backends/eopkg/eopkgBackend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def get_update_detail(self, package_ids):
713713
bugURI = "" # we would have to match against #123 which would be too fragile
714714
changelog = "" # we do not have an enforced standard for changelogs in commit msgs
715715

716-
cvelist = re.findall(r" (CVE\-[0-9]+\-[0-9]+)", str(update_message))
716+
cvelist = re.findall(r"(CVE\-[0-9]+\-[0-9]+)", str(update_message))
717717
cves = ";".join(cvelist)
718718

719719
# TODO: Other than repo naming convection we have no mechanism to

0 commit comments

Comments
 (0)