From: Philippe Antoine Date: Thu, 18 Nov 2021 08:36:55 +0000 (+0100) Subject: jsonschema: prints warning if we really do not have it X-Git-Tag: suricata-5.0.10~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f05a73f1dc6f32df5479cd484730e362f394bc3b;p=thirdparty%2Fsuricata-verify.git jsonschema: prints warning if we really do not have it --- diff --git a/run.py b/run.py index b1a46be5d..292924e87 100755 --- a/run.py +++ b/run.py @@ -948,7 +948,8 @@ def main(): if args.self_test: return unittest.main(argv=[sys.argv[0]]) - print("Warning: EVE files will not be validated: jsonschema module not found.") + if not VALIDATE_EVE: + print("Warning: EVE files will not be valided: jsonschema module not found.") TOPDIR = os.path.abspath(os.path.dirname(sys.argv[0]))