and remove the related code from SequentialTaskQueue.schedule() since
this makes it obsolete.
svn path=/main/trunk/; revision=11052
return self.returncode
if self.pid is None:
return self.returncode
+ if self.registered:
+ return self.returncode
try:
retval = os.waitpid(self.pid, os.WNOHANG)
state_changed = False
for task in list(running_tasks):
- if hasattr(task, "registered") and task.registered:
- continue
if task.poll() is not None:
state_changed = True