changeset 3460 | e4843535db25 |
parent 3451 | 6b46d73823f5 |
child 4252 | 6c4f109c2b03 |
--- a/entities/lib.py Thu Sep 24 00:23:32 2009 +0200 +++ b/entities/lib.py Thu Sep 24 00:24:21 2009 +0200 @@ -109,11 +109,11 @@ rest_attr = 'pkey' def typed_value(self): - return self.vreg.typed_value(self.pkey, self.value) + return self._cw.vreg.typed_value(self.pkey, self.value) def dc_description(self, format='text/plain'): try: - return self._cw._(self.vreg.property_info(self.pkey)['help']) + return self._cw._(self._cw.vreg.property_info(self.pkey)['help']) except UnknownProperty: return u''