summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-08 22:35:27 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-08 22:35:27 +0000
commit482509708e833b5ff63e880171c25a3d7bad345c (patch)
tree9b2b7f8ee51b98bf50b8ae2619435f9369ef306a
parentf0b17e61c290fb95e033763438d3c5c2fd02dfc5 (diff)
downloadportage-482509708e833b5ff63e880171c25a3d7bad345c.tar.gz
portage-482509708e833b5ff63e880171c25a3d7bad345c.tar.bz2
portage-482509708e833b5ff63e880171c25a3d7bad345c.zip
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
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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):