regression: restore Python 3 compat.
This commit is contained in:
parent
6f6c58168c
commit
4c89da8b0c
|
@ -97,7 +97,7 @@ class Poller(threading.Thread):
|
|||
# For children that are no longer running, remember their
|
||||
# most recently recorded CPU time.
|
||||
reaped_cpu = 0.0
|
||||
for c_id, c_t in self.current_children.iteritems():
|
||||
for c_id, c_t in self.current_children.items():
|
||||
if c_id not in new_current_children:
|
||||
reaped_cpu += c_t
|
||||
self.old_children_cpu += reaped_cpu
|
||||
|
|
Loading…
Reference in New Issue