get_real_flag: handle implicit iuse v2.2.0_alpha147
authorZac Medico <zmedico@gentoo.org>
Mon, 10 Dec 2012 02:07:40 +0000 (18:07 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 10 Dec 2012 02:07:40 +0000 (18:07 -0800)
pym/_emerge/Package.py

index e19b78444c61bc44bd798cf9fb2195152ea16fd7..f3be19b6dbc2fdb729a705c85d60e2410a1fd319 100644 (file)
@@ -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