diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-25 22:47:15 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-25 22:47:15 -0700 |
commit | a193641d7da64726d1dfd70a3a241de8c88a1152 (patch) | |
tree | a43a7d0f88ffb3ed89d1878d471d549b42488bfe | |
parent | 561b4dabdc289cf6561b384e50d1138d5f30dd52 (diff) | |
download | portage-a193641d7da64726d1dfd70a3a241de8c88a1152.tar.gz portage-a193641d7da64726d1dfd70a3a241de8c88a1152.tar.bz2 portage-a193641d7da64726d1dfd70a3a241de8c88a1152.zip |
Use EAPI.incompatible repoman category for REQUIRED_USE setting in
EAPI that does not support it.
-rw-r--r-- | pym/_emerge/Package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 3be8009a6..d4da2aa54 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -114,7 +114,7 @@ class Package(Task): v = self.metadata.get(k) if v: if not eapi_has_required_use(eapi): - self._invalid_metadata(k + '.invalid', + self._invalid_metadata('EAPI.incompatible', "REQUIRED_USE set, but EAPI='%s' doesn't allow it" % eapi) else: try: |