Author: gilbert-guest Date: 2010-01-05 22:40:09 +0000 (Tue, 05 Jan 2010) New Revision: 13728 Modified: lib/python/security_db.py Log: make dashes in the arch name permissable (to support new freebsd archs) Modified: lib/python/security_db.py ==================================================================--- lib/python/security_db.py 2010-01-05 22:27:45 UTC (rev 13727) +++ lib/python/security_db.py 2010-01-05 22:40:09 UTC (rev 13728) @@ -565,7 +565,6 @@ re_sources = re.compile(r''.*/([a-z-]+)_([a-z-]*)_([a-z-]+)_Sources$'') - if self.verbose: print " reading source packages" @@ -602,7 +601,7 @@ re_packages \ = re.compile( - r''.*/([a-z-]+)_([a-z-]*)_([a-z-]+)_([a-z0-9]+)_Packages$'') + r''.*/([a-z-]+)_([a-z-]*)_([a-z-]+)_([a-z0-9-]+)_Packages$'') if self.verbose: print " reading binary packages"