diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-29 23:27:15 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-29 23:27:15 +0200 |
commit | 99448ad46a019e967badae438e2483079b44f215 (patch) | |
tree | cefd6cee2bf72b4781f502350ec184cbc326ff26 /pym/portage/versions.py | |
parent | d69e52365d0f11eb773dbc00533def6ba9ce1ad1 (diff) | |
download | portage-99448ad46a019e967badae438e2483079b44f215.tar.gz portage-99448ad46a019e967badae438e2483079b44f215.tar.bz2 portage-99448ad46a019e967badae438e2483079b44f215.zip |
Remove unused imports found by pylint.
Diffstat (limited to 'pym/portage/versions.py')
-rw-r--r-- | pym/portage/versions.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pym/portage/versions.py b/pym/portage/versions.py index 1db421a7e..e40866ef6 100644 --- a/pym/portage/versions.py +++ b/pym/portage/versions.py @@ -1,5 +1,5 @@ # versions.py -- core Portage functionality -# Copyright 1998-2006 Gentoo Foundation +# Copyright 1998-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 __all__ = [ @@ -11,6 +11,7 @@ __all__ = [ import re import warnings +from portage.localization import _ # \w is [a-zA-Z0-9_] @@ -36,9 +37,6 @@ suffix_regexp = re.compile("^(alpha|beta|rc|pre|p)(\\d*)$") suffix_value = {"pre": -2, "p": 0, "alpha": -4, "beta": -3, "rc": -1} endversion_keys = ["pre", "p", "alpha", "beta", "rc"] -from portage.exception import InvalidData -from portage.localization import _ - def ververify(myver, silent=1): if ver_regexp.match(myver): return 1 |