Skip to content

Commit a7ea480

Browse files
author
Josh Mervine
committed
fixing examples for both py2 and py3.x
1 parent eb45e03 commit a7ea480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
# summary
3232
fetch = maxcdn.get("/reports/%s/stats.json%s" % (zone["id"], report))
33-
for key, val in fetch["data"]["summary"].iteritems():
33+
for key, val in fetch["data"]["summary"].items():
3434
print(" - %s: %s" % (key, val))
3535

3636
# popularfiles

0 commit comments

Comments
 (0)