From: Zac Medico Date: Tue, 8 Jul 2008 22:35:27 +0000 (-0000) Subject: Make the "tight loop" assertion trigger whenever there is no state change X-Git-Tag: v2.2_rc2~148 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=482509708e833b5ff63e880171c25a3d7bad345c;p=portage.git Make the "tight loop" assertion trigger whenever there is no state change detected for a given _schedule_main() call. svn path=/main/trunk/; revision=10993 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index d3a8008fc..807c3342a 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -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):