[Oval-commits] r76 - trunk/tools/oval/parser

Pavel Vinogradov blaze-guest at alioth.debian.org
Thu Jul 12 17:57:59 UTC 2007


Author: blaze-guest
Date: 2007-07-12 17:57:59 +0000 (Thu, 12 Jul 2007)
New Revision: 76

Modified:
   trunk/tools/oval/parser/dsa.py
Log:
Add epoch support to fileurl regexp

Modified: trunk/tools/oval/parser/dsa.py
===================================================================
--- trunk/tools/oval/parser/dsa.py	2007-07-12 17:54:55 UTC (rev 75)
+++ trunk/tools/oval/parser/dsa.py	2007-07-12 17:57:59 UTC (rev 76)
@@ -93,7 +93,7 @@
 		# (that should be fixed)
 		if data.has_key("package") and deb_ver:
 			#urlpatern = re.compile (r'fileurl [\w:/.]+/([^/]*?)\.deb[ >]')
-			urlpatern = re.compile (r'fileurl [\w:/.\-+]+/([\w\-.+~]+)\.deb[^i]')
+			urlpatern = re.compile (r'fileurl [\w:/.\-+]+/([\w\-.+~:]+)\.deb[^i]')
 			result = urlpatern.search (line)
 			if result:
 				(package, version, architecture) = result.groups()[0].split("_")




More information about the Oval-commits mailing list