From 1a8487164c51048f42331fd2e2b606ff10573304 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Jun 2007 10:12:51 +0000 Subject: Preserve order of flags from IUSE in wildcard expansion. (trunk r6786) svn path=/main/branches/2.1.2/; revision=6787 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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) -- cgit v1.2.3-1-g7c22