dict.iteritems() method is not available in py3

Change-Id: Ia46a6d5c9ca38f4497da796274a1dac8f148d044
This commit is contained in:
Eyal 2016-04-04 14:31:42 +03:00
parent 3bdfaeb67e
commit 69215f20cf
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class PerfTools(object):
self.dump_logs()
def dump_logs(self):
for name, data in self._timers.iteritems():
for name, data in self._timers.items():
filepath = "%s_%s.csv" % (self.args.result_path, name)
dirpath = os.path.dirname(filepath)
if dirpath and not os.path.exists(dirpath):