Use collections.OrderedDict when available (python-2.7) and fall back to
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:49:09 +0000 (03:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:49:09 +0000 (03:49 -0000)
commite4a903fe8235b14977dfc451492eb70407b94f0b
tree897b9a96a4735aabc8f64227d219a8631225c6f6
parent40b13a6724fd8af32c2dfb59fb7bf133eff31212
Use collections.OrderedDict when available (python-2.7) and fall back to
portage.cache.mappings.OrderedDict for older python. Also, use OrderedDict
inside fetch() so that files are fetched in the order that they appear in
SRC_URI. (trunk r15028)

svn path=/main/branches/2.1.7/; revision=15062
pym/portage/__init__.py
pym/portage/dbapi/porttree.py