From: Sebastian Luther Date: Mon, 23 Aug 2010 16:24:10 +0000 (+0200) Subject: use_reduce: Give a hint to IUSE in the 'use flag '%s' is not referencable in conditio... X-Git-Tag: v2.2_rc69~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8e6365da46d6b7165188de9d9831a46d23c6645;p=portage.git use_reduce: Give a hint to IUSE in the 'use flag '%s' is not referencable in conditional' error --- diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index 5ec04cfc3..8fc472819 100644 --- a/pym/portage/dep/__init__.py +++ b/pym/portage/dep/__init__.py @@ -306,7 +306,8 @@ def use_reduce(depstr, uselist=[], masklist=[], matchall=False, excludeall=[], i if is_valid_flag: if not is_valid_flag(flag): raise portage.exception.InvalidDependString( - _("use flag '%s' is not referencable in conditional '%s' in '%s'") % (flag, conditional, depstr)) + _("use flag '%s' is not referencable in conditional '%s' in '%s' (flag missing from IUSE?)") \ + % (flag, conditional, depstr)) else: if _valid_use_re.match(flag) is None: raise portage.exception.InvalidDependString(