diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-12-10 01:03:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-12-10 01:03:33 +0000 |
commit | cca5b7a17ab58a0af841e58e27350ed03fd57afd (patch) | |
tree | 3ddf86e1292935251653a066c0ccdbf86b335123 | |
parent | 765f6c1ecf2a06720ba32ff26e8bb3c5e6d08a9d (diff) | |
download | portage-cca5b7a17ab58a0af841e58e27350ed03fd57afd.tar.gz portage-cca5b7a17ab58a0af841e58e27350ed03fd57afd.tar.bz2 portage-cca5b7a17ab58a0af841e58e27350ed03fd57afd.zip |
Use OrderedDict in portdbapi.getFetchMap() so that order in $A corresponds
to order in SRC_URI. (trunk r14968)
svn path=/main/branches/2.1.7/; revision=15002
-rw-r--r-- | pym/portage/dbapi/porttree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index a993227ca..df2c65640 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -16,7 +16,7 @@ portage.proxy.lazyimport.lazyimport(globals(), ) from portage.cache.cache_errors import CacheError -from portage.cache.mappings import slot_dict_class +from portage.cache.mappings import OrderedDict from portage.const import REPO_NAME_LOC from portage.data import portage_gid, secpass from portage.dbapi import dbapi @@ -734,7 +734,7 @@ class portdbapi(dbapi): matchall=(useflags is None)) myuris = flatten(myuris) - uri_map = {} + uri_map = OrderedDict() myuris.reverse() while myuris: |