summaryrefslogtreecommitdiff
path: root/taskflow/listeners/timing.py
diff options
context:
space:
mode:
Diffstat (limited to 'taskflow/listeners/timing.py')
-rw-r--r--taskflow/listeners/timing.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/taskflow/listeners/timing.py b/taskflow/listeners/timing.py
index 8634ee0..587be8c 100644
--- a/taskflow/listeners/timing.py
+++ b/taskflow/listeners/timing.py
@@ -15,7 +15,6 @@
# under the License.
import itertools
-import six
import time
from oslo_utils import timeutils
@@ -58,7 +57,7 @@ class DurationListener(base.Listener):
super(DurationListener, self).deregister()
# There should be none that still exist at deregistering time, so log a
# warning if there were any that somehow still got left behind...
- for item_type, timers in six.iteritems(self._timers):
+ for item_type, timers in self._timers.items():
leftover_timers = len(timers)
if leftover_timers:
LOG.warning("%s %s(s) did not enter %s states",