Mailing List Archive

(httpd-site) 02/04: silence warning, not raw string
This is an automated email from the ASF dual-hosted git repository.

covener pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/httpd-site.git

commit a0a0d13202231b6f9ba8c3063b56a64521cec3fe
Author: Eric Covener <ecovener@us.ibm.com>
AuthorDate: Thu Apr 4 14:07:29 2024 -0400

silence warning, not raw string
---
content/security/cvejsontohtml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/security/cvejsontohtml.py b/content/security/cvejsontohtml.py
index 23883a1..802d31e 100644
--- a/content/security/cvejsontohtml.py
+++ b/content/security/cvejsontohtml.py
@@ -12,7 +12,7 @@ parser.add_option("-e","--extratext",help="extra text to add to description",des
parser.add_option("-i","--inputdirectory",help="directory of json files",dest="directory")
(options,args) = parser.parse_args()

-re_fixedin = re.compile('(released in )?(?P<released>\\d\\.\\d\\.\\d+(-\S+)?)( released)?');
+re_fixedin = re.compile('(released in )?(?P<released>\\d\\.\\d\\.\\d+(-\\S+)?)( released)?');

def natural_sort_key(s, _nsre=re.compile('([0-9]+)')):
return [int(text) if text.isdigit() else text.lower()