package/python-colorzero: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Peter Seiderer
2020-06-13 21:20:31 +02:00
committed by Thomas Petazzoni
parent 35bbcde75c
commit 185398f619
6 changed files with 27 additions and 0 deletions

View File

@@ -383,6 +383,8 @@ class CVE:
if not hasattr(cve_affected_version, "version"):
print("Cannot parse CVE affected version '%s'" % v["version_value"])
continue
print(pkg_version)
print(cve_affected_version)
return pkg_version <= cve_affected_version
else:
print("version_affected: %s" % v['version_affected'])