For consistency, make sure that a normal iterator is always returned
authorZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 20:47:42 +0000 (20:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 20:47:42 +0000 (20:47 -0000)
commit0d50616cd1628b380616f96609234f76feeef428
treed6b0dfb2195913d55ce972c237b9d70bfec4deb0
parent05f15f0d6e34cb9a47a3cb3ec44453958f1a3818
For consistency, make sure that a normal iterator is always returned
from dbapi._iter_match() (and never a list). This way the caller can
be sure that the returned object has a next() method. (trunk r10507)

svn path=/main/branches/2.1.2/; revision=10508
pym/portage.py