From: Zac Medico Date: Sun, 10 Jun 2007 10:12:51 +0000 (-0000) Subject: Preserve order of flags from IUSE in wildcard expansion. (trunk r6786) X-Git-Tag: v2.1.3_rc1~22 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1a8487164c51048f42331fd2e2b606ff10573304;p=portage.git Preserve order of flags from IUSE in wildcard expansion. (trunk r6786) svn path=/main/branches/2.1.2/; revision=6787 --- diff --git a/pym/portage.py b/pym/portage.py index f34ff5887..c53faafd0 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1962,7 +1962,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)