changeset 10669 | 155c29e0ed1c |
parent 10666 | 7f6b5f023884 |
--- a/web/views/cwproperties.py Tue Sep 15 17:10:58 2015 +0200 +++ b/web/views/cwproperties.py Fri Sep 18 14:29:53 2015 +0200 @@ -171,7 +171,7 @@ entity = self.cwprops_rset.get_entity(values[key], 0) else: entity = self._cw.vreg['etypes'].etype_class('CWProperty')(self._cw) - entity.eid = self._cw.varmaker.next() + entity.eid = next(self._cw.varmaker) entity.cw_attr_cache['pkey'] = key entity.cw_attr_cache['value'] = self._cw.vreg.property_value(key) return entity