In PollScheduler._poll(), add a call to _schedule() in order to ensure that
authorZac Medico <zmedico@gentoo.org>
Sun, 27 Jul 2008 02:16:04 +0000 (02:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 27 Jul 2008 02:16:04 +0000 (02:16 -0000)
commitba767ea2d20819cc3d9eccaffe400321e7c97436
treeee65f32be2aeaf4aadadfd3f595f4999e8aad36b
parentc62c3473391f30855f608e478229bddfe7de161d
In PollScheduler._poll(), add a call to _schedule() in order to ensure that
event handlers are registered if possible. If not, raise StopIteration in
order to avoid endless blocking in a poll call with no file descriptors
registered. Add StopIteration exception handling for all
PollScheduler._poll._next_poll_event() calls.

svn path=/main/trunk/; revision=11203
pym/_emerge/__init__.py