regression: restore Python 3 compat.

This commit is contained in:
Japheth Lim 2016-02-25 11:44:49 +11:00
parent 6f6c58168c
commit 4c89da8b0c
1 changed files with 1 additions and 1 deletions

View File

@ -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