Now that dbapi._iter_match() is guaranteed to return a real iterator with
authorZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 21:20:11 +0000 (21:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 30 May 2008 21:20:11 +0000 (21:20 -0000)
commitdf8d7c3a2a75c15905177c2b8418704968f20aa7
treeaeb1359acf5c131861bd426d30c3e7ce955e38a0
parent0d50616cd1628b380616f96609234f76feeef428
Now that dbapi._iter_match() is guaranteed to return a real iterator with
a next() method, we can just call next() and handle StopIteration.
(trunk r10509)

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