aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-06 22:36:09 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-06 22:36:09 +0100
commit4146c147935b26fa57a0734a13a26909a312ea47 (patch)
treeae006363c1c170fa701131bdc9c85f683081eaa8
parent9d141ce65f46cc7477f9d6d00521bca8455919cd (diff)
downloadpaludis-4146c147935b26fa57a0734a13a26909a312ea47.tar.gz
paludis-4146c147935b26fa57a0734a13a26909a312ea47.tar.xz
QA notice rather than spectacular barf
-rw-r--r--paludis/repositories/e/ebuild_id.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index 21cbf9b..8858f56 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -345,7 +345,8 @@ EbuildID::need_keys_added() const
bool unprefixed(use_expand_unprefixed->end() != use_expand_unprefixed->find(*x));
if ((! unprefixed) && (! prefixed))
- throw InternalError(PALUDIS_HERE, "(! unprefixed) && (! prefixed) for " + *x);
+ Log::get_instance()->message("e.ebuild.iuse_effective.neither", ll_qa, lc_context)
+ << "USE_EXPAND_IMPLICIT value " << *x << " is not in either USE_EXPAND or USE_EXPAND_UNPREFIXED";
const std::tr1::shared_ptr<const Set<std::string> > values(e_repository()->profile()->use_expand_values(*x));
for (Set<std::string>::ConstIterator v(values->begin()), v_end(values->end()) ;