diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-06-09 11:48:19 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-06-09 11:48:19 -0700 |
commit | d85506e8a37778e0935f43f9e7cc62bb8b933063 (patch) | |
tree | a7dc47880cac73c993a5766fdc60f50b15c71319 /pym/portage/tests/dep/test_use_reduce.py | |
parent | 501eef33b5ac990ae4b164a27e635be34cb9d14d (diff) | |
download | portage-d85506e8a37778e0935f43f9e7cc62bb8b933063.tar.gz portage-d85506e8a37778e0935f43f9e7cc62bb8b933063.tar.bz2 portage-d85506e8a37778e0935f43f9e7cc62bb8b933063.zip |
useflag/dep_re: less strict if eapi None
When eapi is None then validation is not as strict, since we want the
same to work for multiple EAPIs that may have slightly different rules.
Diffstat (limited to 'pym/portage/tests/dep/test_use_reduce.py')
-rw-r--r-- | pym/portage/tests/dep/test_use_reduce.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py index ac815632a..1618430c5 100644 --- a/pym/portage/tests/dep/test_use_reduce.py +++ b/pym/portage/tests/dep/test_use_reduce.py @@ -8,7 +8,7 @@ from portage.dep import Atom, use_reduce class UseReduceTestCase(object): def __init__(self, deparray, uselist=[], masklist=[], \ matchall=0, excludeall=[], is_src_uri=False, \ - eapi=None, opconvert=False, flat=False, expected_result=None, \ + eapi="0", opconvert=False, flat=False, expected_result=None, \ is_valid_flag=None, token_class=None): self.deparray = deparray self.uselist = uselist |