diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-02-11 11:48:05 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-02-11 11:48:05 -0800 |
commit | 78ccc379fb914d7604603e08ca4ac9fc30fcfc26 (patch) | |
tree | 070cfab38cdf0f1670ba606181bef6c6a58a8d29 /pym/_emerge/Blocker.py | |
parent | dcb9fab8463996542d06d29bc383f5933bf0d677 (diff) | |
download | portage-78ccc379fb914d7604603e08ca4ac9fc30fcfc26.tar.gz portage-78ccc379fb914d7604603e08ca4ac9fc30fcfc26.tar.bz2 portage-78ccc379fb914d7604603e08ca4ac9fc30fcfc26.zip |
QueueScheduler: timeout compat for GlibEventLoop
Raising StopIteration doesn't work with GlibEventLoop, since it catches
all exceptions and logs them. So, just use a boolean expression to
terminate the while loop. This depends on commit
dcb9fab8463996542d06d29bc383f5933bf0d677 so that IpcDaemonTestCase
timeouts work correctly with both EventLoop and GlibEventLoop.
Diffstat (limited to 'pym/_emerge/Blocker.py')
0 files changed, 0 insertions, 0 deletions