Now that dbapi._iter_match() is guaranteed to return a real iterator with
authorZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 21:14:32 +0000 (21:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 21:14:32 +0000 (21:14 -0000)
commitb91006f024eac5921e72a1736e48c34618e23dbf
tree7740e28a76e7aeff19142389784d45beab8bba27
parent155c9cef11b4d9619426e35d407ccdafbed856ee
Now that dbapi._iter_match() is guaranteed to return a real iterator with
a next method(), we can just call next() and handle StopIteration.

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