summaryrefslogtreecommitdiff
path: root/giscanner/girwriter.py
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2014-04-28 22:57:00 -0700
committerThomas A Caswell <tcaswell@gmail.com>2015-09-29 14:44:50 -0400
commite09c0a2bca45016daee064669ef5b1c9a748a566 (patch)
tree567ce836ed738a0a8161c11602cb135c2a77375e /giscanner/girwriter.py
parentd9a9f70ef6e3b1ef0f4baccf94780d286e51bbb0 (diff)
downloadgobject-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.py2
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):