From 9d4b619ddfc356af4e1f8c25e90029253b9a6e78 Mon Sep 17 00:00:00 2001 From: Sjoerd Op 't Land <36197767+TL-SjoerdOptLand@users.noreply.github.com> Date: Wed, 8 May 2019 15:24:34 +0200 Subject: [PATCH] Upgrade to Python3 --- lib/pylprof/dump-stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pylprof/dump-stats.py b/lib/pylprof/dump-stats.py index 1a1f974..d352fe0 100644 --- a/lib/pylprof/dump-stats.py +++ b/lib/pylprof/dump-stats.py @@ -11,7 +11,7 @@ stats = lp.get_stats() unit = stats.unit results = {} -for loc, timings in stats.timings.iteritems(): +for loc, timings in stats.timings.items(): module, line, fname = loc if not results.get(module): results[module] = defaultdict(list)