web/controller.py
changeset 8696 0bb18407c053
parent 8258 88a7d2c49d39
child 8697 574bb05e40a4
--- a/web/controller.py	Thu Feb 14 15:38:25 2013 +0100
+++ b/web/controller.py	Thu Feb 14 16:01:24 2013 +0100
@@ -152,7 +152,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', {}).values()):
+                       for eid in self._cw.data.get('eidmap', {}).itervalues()):
                     msg = self._cw._('click here to see created entity')
                 else:
                     msg = self._cw._('click here to see edited entity')