From e549b9f28ca84c09bfdfbd9d50dfc6bbbae7d873 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Jun 2007 10:12:10 +0000 Subject: [PATCH] Preserve order of flags from IUSE in wildcard expansion. svn path=/main/trunk/; revision=6786 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2