Use collections.OrderedDict when available (python-2.7) and fall back to
authorZac Medico <zmedico@gentoo.org>
Fri, 11 Dec 2009 03:04:49 +0000 (03:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 11 Dec 2009 03:04:49 +0000 (03:04 -0000)
commite2fb4da17aaf2d1c2ee3587374136e63e43daa8f
tree68bfb5c71751d991924c7312a0db8fd39f13eca6
parent75ea9fecaee81c0e37211272a19a857724294ad8
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.

svn path=/main/trunk/; revision=15028
pym/portage/__init__.py
pym/portage/dbapi/porttree.py