dict.iteritems() method is not available in py3
Change-Id: Ia46a6d5c9ca38f4497da796274a1dac8f148d044
This commit is contained in:
parent
3bdfaeb67e
commit
69215f20cf
|
@ -133,7 +133,7 @@ class PerfTools(object):
|
||||||
self.dump_logs()
|
self.dump_logs()
|
||||||
|
|
||||||
def dump_logs(self):
|
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)
|
filepath = "%s_%s.csv" % (self.args.result_path, name)
|
||||||
dirpath = os.path.dirname(filepath)
|
dirpath = os.path.dirname(filepath)
|
||||||
if dirpath and not os.path.exists(dirpath):
|
if dirpath and not os.path.exists(dirpath):
|
||||||
|
|
Loading…
Reference in New Issue