For consistency, make sure that a normal iterator is always returned
authorZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 20:46:05 +0000 (20:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 20:46:05 +0000 (20:46 -0000)
commit155c9cef11b4d9619426e35d407ccdafbed856ee
treeadc66ffcc4fa74ad72ba0308c855bd17726610d3
parent2d4942e36d8de1812ed7938ab5acd0baff6e9b56
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.

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