web/controller.py
changeset 10663 54b8a1f249fb
parent 9229 739ae5366bed
child 10698 bee7de3b4e55
--- a/web/controller.py	Tue Sep 15 16:15:03 2015 +0200
+++ b/web/controller.py	Tue Oct 13 15:09:22 2015 +0200
@@ -155,7 +155,7 @@
                 and '_cwmsgid' in newparams):
                 # are we here on creation or modification?
                 if any(eid == self._edited_entity.eid
-                       for eid in self._cw.data.get('eidmap', {}).itervalues()):
+                       for eid in self._cw.data.get('eidmap', {}).values()):
                     msg = self._cw._('click here to see created entity')
                 else:
                     msg = self._cw._('click here to see edited entity')