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

pym/portage/__init__.py

index 8bf342248170c6f078c9e65ee5f7a5dc45eab931..0b544438790ee35084b1078c54b682e3248fbe1d 100644 (file)
@@ -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)