diff options
author | Holger Levsen <holger@debian.org> | 2014-10-03 07:36:36 +0000 |
---|---|---|
committer | Holger Levsen <holger@debian.org> | 2014-10-03 07:36:36 +0000 |
commit | 2aaa29927e7e5ee6768223fb6f9e0cf722461e91 (patch) | |
tree | d94cea72f4bcbe466335ea62a1ff61ee472ca519 /lib/python/debian_support.py | |
parent | 9e1c3d3c6df2cab7d9217b2490d175cdc7bb5ed7 (diff) |
WIP: improve backports support. (this is really WIP: see debian_support.py)
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@29228 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/debian_support.py')
-rw-r--r-- | lib/python/debian_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/debian_support.py b/lib/python/debian_support.py index 2c76f2d44d..6f3a1a9480 100644 --- a/lib/python/debian_support.py +++ b/lib/python/debian_support.py @@ -71,7 +71,7 @@ class ParseError(Exception): # This regular expression is used to strip ~bpo1 and ~volatile1 from # version numbers before they are compared. -_version_normalize_regexp = re.compile(r"~(?:bpo|volatile)[0-9.+]+$") +_version_normalize_regexp = re.compile(r"~(?:xxxxxxxxxxxxxxxx|yyyyyyyyyyyyyyyy)[0-9.+]+$") class Version: """Version class which uses the original APT comparison algorithm. |