Scheduler waits too longer, and pubsubstate registration was backwards

This commit is contained in:
Nathan Fritz
2010-05-31 18:36:25 +08:00
committed by Thom Nichols
parent d76c0931ef
commit ecf902bf16
3 changed files with 6 additions and 3 deletions

View File

@@ -78,6 +78,9 @@ class ElementBase(tostring.ToString):
def __iter__(self):
self.idx = 0
return self
def __bool__(self):
return True
def __next__(self):
self.idx += 1