diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2014-04-28 22:57:00 -0700 |
---|---|---|
committer | Thomas A Caswell <tcaswell@gmail.com> | 2015-09-29 14:44:50 -0400 |
commit | e09c0a2bca45016daee064669ef5b1c9a748a566 (patch) | |
tree | 567ce836ed738a0a8161c11602cb135c2a77375e /giscanner/girwriter.py | |
parent | d9a9f70ef6e3b1ef0f4baccf94780d286e51bbb0 (diff) | |
download | gobject-introspection-e09c0a2bca45016daee064669ef5b1c9a748a566.tar.gz |
giscanner: Use items() instead of iteritems()
Replace usage of iteritems() and itervalues() with items() and values()
respectively.
https://bugzilla.gnome.org/show_bug.cgi?id=679438
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index 3bea2a1c..1af1ba5c 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -88,7 +88,7 @@ class GIRWriter(XMLWriter): return 1 else: return cmp(a, b) - for node in sorted(namespace.itervalues(), cmp=nscmp): + for node in sorted(namespace.values(), cmp=nscmp): self._write_node(node) def _write_node(self, node): |