diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-27 13:37:00 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-27 13:37:00 -0700 |
commit | 6faf12d1ce0754325bf36d87001d9a63c97fa4bb (patch) | |
tree | 36f3ae07172e4a67f816bb2896e34c6bd0378dc1 | |
parent | e3dee10122b99aecd0ca5bebb7b95cead7456c24 (diff) | |
download | portage-6faf12d1ce0754325bf36d87001d9a63c97fa4bb.tar.gz portage-6faf12d1ce0754325bf36d87001d9a63c97fa4bb.tar.bz2 portage-6faf12d1ce0754325bf36d87001d9a63c97fa4bb.zip |
Fix Package._validate_deps() to pass matchall=True to use_reduce().
-rw-r--r-- | pym/_emerge/Package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 8fdf463f9..0a4f2ab7a 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -86,7 +86,7 @@ class Package(Task): if not v: continue try: - use_reduce(v, eapi=dep_eapi, + use_reduce(v, eapi=dep_eapi, matchall=True, is_valid_flag=dep_valid_flag, token_class=Atom) except InvalidDependString as e: self._metadata_exception(k, e) @@ -95,7 +95,7 @@ class Package(Task): v = self.metadata.get(k) if v: try: - use_reduce(v, eapi=dep_eapi, + use_reduce(v, eapi=dep_eapi, matchall=True, is_valid_flag=dep_valid_flag, token_class=Atom) except InvalidDependString as e: self._metadata_exception(k, e) @@ -105,7 +105,7 @@ class Package(Task): if not v: continue try: - use_reduce(v, eapi=dep_eapi, + use_reduce(v, eapi=dep_eapi, matchall=True, is_valid_flag=dep_valid_flag) except InvalidDependString as e: self._metadata_exception(k, e) @@ -128,7 +128,7 @@ class Package(Task): v = self.metadata.get(k) if v: try: - use_reduce(v, is_src_uri=True, eapi=eapi, \ + use_reduce(v, is_src_uri=True, eapi=eapi, matchall=True, is_valid_flag=self.iuse.is_valid_flag) except InvalidDependString as e: if not self.installed: |