[Oval-commits] r82 - trunk/tools/oval/definition
Pavel Vinogradov
blaze-guest at alioth.debian.org
Sat Jul 14 07:14:47 UTC 2007
Author: blaze-guest
Date: 2007-07-14 07:14:47 +0000 (Sat, 14 Jul 2007)
New Revision: 82
Modified:
trunk/tools/oval/definition/generator.py
Log:
Fix error in handling version of all architecture packages
Modified: trunk/tools/oval/definition/generator.py
===================================================================
--- trunk/tools/oval/definition/generator.py 2007-07-14 07:13:37 UTC (rev 81)
+++ trunk/tools/oval/definition/generator.py 2007-07-14 07:14:47 UTC (rev 82)
@@ -218,7 +218,7 @@
packageCriteria = __createXMLElement ("criteria", attrs={"comment" : "Packages section", "operator" : "OR"})
for pkg in data["all"].keys():
- packageCriteria.appendChild ( __createXMLElement ("criterion", attrs = {"test_ref" : __createDPKGTest(pkg, data["all"][pkg][0]), "comment" : "%s DPKG is earlier than %s" % (pkg, data["all"][pkg][0])}))
+ packageCriteria.appendChild ( __createXMLElement ("criterion", attrs = {"test_ref" : __createDPKGTest(pkg, data["all"][pkg]), "comment" : "%s DPKG is earlier than %s" % (pkg, data["all"][pkg])}))
archIndepCriteria.appendChild (packageCriteria)
archCriteria.appendChild (archIndepCriteria)
More information about the Oval-commits
mailing list