From: Zac Medico Date: Sun, 10 Jun 2007 10:12:10 +0000 (-0000) Subject: Preserve order of flags from IUSE in wildcard expansion. X-Git-Tag: v2.2_pre1~1270 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e549b9f28ca84c09bfdfbd9d50dfc6bbbae7d873;p=portage.git Preserve order of flags from IUSE in wildcard expansion. svn path=/main/trunk/; revision=6786 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 8bf342248..0b5444387 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2036,7 +2036,7 @@ class config: # Use the calculated USE flags to regenerate the USE_EXPAND flags so # that they are consistent. iuse = self.configdict["pkg"].get("IUSE","").split() - iuse = set([ x.lstrip("+-") for x in iuse ]) + iuse = [ x.lstrip("+-") for x in iuse ] for var in use_expand: prefix = var.lower() + "_" prefix_len = len(prefix)