summaryrefslogtreecommitdiffstats
path: root/lib/python/debian_support.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@debian.org>2014-10-03 07:39:01 +0000
committerHolger Levsen <holger@debian.org>2014-10-03 07:39:01 +0000
commit110cdfe01b70ea2b8139acd4cc486ba4b5da5fe3 (patch)
tree65be7158ea27d2fa97651fed172c8e64f3156803 /lib/python/debian_support.py
parent2aaa29927e7e5ee6768223fb6f9e0cf722461e91 (diff)
Revert "WIP: improve backports support. (this is really WIP: see debian_support.py)"
This reverts commit a47339bf5db9ec1be2709e1e687c2b5d5df313e7. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@29229 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/debian_support.py')
-rw-r--r--lib/python/debian_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/debian_support.py b/lib/python/debian_support.py
index 6f3a1a9480..2c76f2d44d 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"~(?:xxxxxxxxxxxxxxxx|yyyyyyyyyyyyyyyy)[0-9.+]+$")
+_version_normalize_regexp = re.compile(r"~(?:bpo|volatile)[0-9.+]+$")
class Version:
"""Version class which uses the original APT comparison algorithm.

© 2014-2024 Faster IT GmbH | imprint | privacy policy