Commit da6c14eb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! fixup! py2/py3: dict_key does not have sort().

parent d645ffd1
......@@ -41,9 +41,7 @@ from OFS.Image import Pdata, Image as OFSImage
from DateTime import DateTime
def makeSortedTuple(kw):
items = kw.items()
items.sort()
return tuple(items)
return tuple(sorted(kw.items()))
def hashPdataObject(pdata_object):
"""Pdata objects are iterable, use this feature strongly
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment