[Secure-testing-commits] r4782 - lib/python
Florian Weimer
fw at costa.debian.org
Sat Sep 30 08:05:35 UTC 2006
Author: fw
Date: 2006-09-30 08:05:35 +0000 (Sat, 30 Sep 2006)
New Revision: 4782
Modified:
lib/python/bugs.py
Log:
* lib/python/bugs.py (FileBase.re_package_version)
Yet another fix for ~ versions.
Modified: lib/python/bugs.py
===================================================================
--- lib/python/bugs.py 2006-09-29 12:31:50 UTC (rev 4781)
+++ lib/python/bugs.py 2006-09-30 08:05:35 UTC (rev 4782)
@@ -496,7 +496,7 @@
re_package_required = re.compile(r'^(?:\[.*\]\s*)?-')
re_package_version = re.compile(
r'^(?:\[([a-z]+)\]\s)?-\s([A-Za-z0-9:.+-]+)\s*'
- + r'(?:\s([A-Za-z0-9:.+-]+)\s*)?(?:\s\((.*)\))?$')
+ + r'(?:\s([A-Za-z0-9:.+~-]+)\s*)?(?:\s\((.*)\))?$')
re_package_no_version = re.compile(
r'^(?:\[([a-z]+)\]\s)?-\s([A-Za-z0-9:.+-]+)'
+ r'\s+<([a-z-]+)>\s*(?:\s\((.*)\))?$')
More information about the Secure-testing-commits
mailing list