Preserve order of flags from IUSE in wildcard expansion. (trunk r6786)
authorZac Medico <zmedico@gentoo.org>
Sun, 10 Jun 2007 10:12:51 +0000 (10:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 10 Jun 2007 10:12:51 +0000 (10:12 -0000)
svn path=/main/branches/2.1.2/; revision=6787

pym/portage.py

index f34ff58874d1a9695baa2e3c08e866a1f9e1e3f8..c53faafd0e2152a858670b82e464c32aa7818da1 100644 (file)
@@ -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)