Make the "tight loop" assertion trigger whenever there is no state change
authorZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 22:35:27 +0000 (22:35 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 22:35:27 +0000 (22:35 -0000)
detected for a given _schedule_main() call.

svn path=/main/trunk/; revision=10993

pym/_emerge/__init__.py

index d3a8008fccb79a84021df39f7396a1c501137101..807c3342ad1a071250060f8dadd0411de848c186 100644 (file)
@@ -8249,7 +8249,7 @@ class Scheduler(object):
                        if not wait and self._jobs < max_jobs:
                                break
 
-               if not state_change and not event_handlers and self._jobs:
+               if not state_change:
                        raise AssertionError("tight loop")
 
        def _schedule_tasks(self):