py3: iteritems -> items, iterkeys -> keys

This commit is contained in:
looooo
2018-12-08 00:03:31 +01:00
committed by Yorik van Havre
parent 9d395235b9
commit 1476caf281
9 changed files with 17 additions and 17 deletions

View File

@@ -310,7 +310,7 @@ class _Writer(object):
self._stream.write(_SECTION_DELIM)
def _writeSectionBody(self, s):
for key in sorted(s.iterkeys()): # def iterkeys() from class sifio.Section is called
for key in sorted(s.keys()): # def keys() from class sifio.Section is called
self._writeAttribute(key, s[key])
def _writeAttribute(self, key, data):