You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2023/01/17 17:07:04 UTC
[httpd-site] branch main updated: force print to stderr so buildbot catches it?
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/httpd-site.git
The following commit(s) were added to refs/heads/main by this push:
new ba3c97b force print to stderr so buildbot catches it?
ba3c97b is described below
commit ba3c97beae3925718019959e9d0811c3720cd285
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jan 17 18:07:00 2023 +0100
force print to stderr so buildbot catches it?
---
content/security/cvejsontohtml.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/content/security/cvejsontohtml.py b/content/security/cvejsontohtml.py
index da70215..38aabe2 100644
--- a/content/security/cvejsontohtml.py
+++ b/content/security/cvejsontohtml.py
@@ -2,6 +2,7 @@ import json
import os
import re
import xml.sax.saxutils as saxutils
+import sys
from optparse import OptionParser
parser = OptionParser()
@@ -36,7 +37,7 @@ for x in os.listdir(options.directory or "./"):
for cve in cves:
# Establish which version of CVE JSON we are dealing with
data_version = cve.get("dataVersion", DEFAULT_CVE_DATA_VERSION)
- print("%s: v%s" % (cve["_filename"], data_version))
+ print("%s: v%s" % (cve["_filename"], data_version), file=sys.stderr)
if data_version == DEFAULT_CVE_DATA_VERSION: # Old style CVE
timearray = cve["timeline"]