From c8e6365da46d6b7165188de9d9831a46d23c6645 Mon Sep 17 00:00:00 2001 From: Sebastian Luther Date: Mon, 23 Aug 2010 18:24:10 +0200 Subject: use_reduce: Give a hint to IUSE in the 'use flag '%s' is not referencable in conditional' error --- pym/portage/dep/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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( -- cgit v1.2.3-1-g7c22