From: Zac Medico Date: Mon, 10 Dec 2012 02:07:40 +0000 (-0800) Subject: get_real_flag: handle implicit iuse X-Git-Tag: v2.2.0_alpha147 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=30173b79783cb3cc24bce27ece43cc5d77e3ba4b;p=portage.git get_real_flag: handle implicit iuse --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index e19b78444..f3be19b6d 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -652,8 +652,11 @@ class Package(Task): for k, v in self.alias_mapping.items(): if flag in v: return k - else: - return None + + if self._iuse_implicit_match(flag): + return flag + + return None def __len__(self): return 4