[PATCH jqplot V2] [py2/3] Replace iteritems by items
Simon Chabot
simon.chabot at logilab.fr
Mon Mar 9 11:17:10 CET 2020
# HG changeset patch
# User Simon Chabot <simon.chabot at logilab.fr>
# Date 1583408410 -3600
# Thu Mar 05 12:40:10 2020 +0100
# Node ID de8500bf3d2027ebfb0031dfb9f3715a3fdbfee7
# Parent d092668a5a0d0ed3675e695c417555454e782140
# Available At https://hg.logilab.org/review/cubes/jqplot/
# hg pull https://hg.logilab.org/review/cubes/jqplot/ -r de8500bf3d20
[py2/3] Replace iteritems by items
diff -r d092668a5a0d -r de8500bf3d20 cubicweb_jqplot/views.py
--- a/cubicweb_jqplot/views.py Thu Mar 05 15:54:56 2020 +0100
+++ b/cubicweb_jqplot/views.py Thu Mar 05 12:40:10 2020 +0100
@@ -182,7 +182,7 @@
highlighter_.update(highlighter)
highlighter = highlighter_
axes = axes.copy()
- for axis, options in axes.iteritems():
+ for axis, options in axes.items():
if 'renderer' in options:
options = options.copy()
options['renderer'] = self.renderer(self.axis_renderers,
More information about the cubicweb-devel
mailing list