aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Bersenev <bay@hackerdom.ru>2011-08-21 21:30:42 +0000
committerAlexander Bersenev <bay@hackerdom.ru>2011-08-21 21:30:42 +0000
commit0c4556b8a25cc0acc00363d4721b676eb4f2e1c8 (patch)
treec69adb4118e2496d25205ea9b05ffa77f3f24036 /src
parentadd expand_new_virt function from portage (diff)
downloadautodep-0c4556b8a25cc0acc00363d4721b676eb4f2e1c8.tar.gz
autodep-0c4556b8a25cc0acc00363d4721b676eb4f2e1c8.tar.bz2
autodep-0c4556b8a25cc0acc00363d4721b676eb4f2e1c8.zip
modified expand_new_virt function, disabled use flag checking
Diffstat (limited to 'src')
-rw-r--r--src/autodep/package_utils/portage_misc_functions.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/autodep/package_utils/portage_misc_functions.py b/src/autodep/package_utils/portage_misc_functions.py
index d05c4be..3889a1f 100644
--- a/src/autodep/package_utils/portage_misc_functions.py
+++ b/src/autodep/package_utils/portage_misc_functions.py
@@ -76,14 +76,11 @@ class portage_api:
yield atom
continue
- # Validate IUSE and IUSE, for early detection of vardb corruption.
- useflag_re = _get_useflag_re(eapi)
valid_iuse = []
for x in iuse.split():
if x[:1] in ("+", "-"):
x = x[1:]
- if useflag_re.match(x) is not None:
- valid_iuse.append(x)
+ valid_iuse.append(x)
valid_iuse = frozenset(valid_iuse)
iuse_implicit_match = vardb.settings._iuse_implicit_match