summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-08 21:07:31 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-08 21:07:31 +0000
commit16f2a01e156f2742677e9950bcf931239790c753 (patch)
tree3bc8633c39c011b7b79a4be5802c853545bb8979 /pym
parent0a993bf71d0e4ff87dd85b7226e1662c70a53e08 (diff)
downloadportage-16f2a01e156f2742677e9950bcf931239790c753.tar.gz
portage-16f2a01e156f2742677e9950bcf931239790c753.tar.bz2
portage-16f2a01e156f2742677e9950bcf931239790c753.zip
Use OrderedDict in portdbapi.getFetchMap() so that order in $A corresponds
to order in SRC_URI. svn path=/main/trunk/; revision=14968
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/porttree.py4
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: