From 4c89da8b0c22d7fda649e00b868748072d51cabb Mon Sep 17 00:00:00 2001 From: Japheth Lim Date: Thu, 25 Feb 2016 11:44:49 +1100 Subject: [PATCH] regression: restore Python 3 compat. --- misc/regression/cpuusage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/regression/cpuusage.py b/misc/regression/cpuusage.py index 412070a08..567af28e6 100644 --- a/misc/regression/cpuusage.py +++ b/misc/regression/cpuusage.py @@ -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