--- a/entities/lib.py Thu Sep 22 09:56:20 2011 +0200
+++ b/entities/lib.py Thu Sep 22 16:12:23 2011 +0200
@@ -39,7 +39,7 @@
class EmailAddress(AnyEntity):
__regid__ = 'EmailAddress'
- fetch_attrs, fetch_order = fetch_config(['address', 'alias'])
+ fetch_attrs, cw_fetch_order = fetch_config(['address', 'alias'])
rest_attr = 'eid'
def dc_title(self):
@@ -94,7 +94,7 @@
class Bookmark(AnyEntity):
"""customized class for Bookmark entities"""
__regid__ = 'Bookmark'
- fetch_attrs, fetch_order = fetch_config(['title', 'path'])
+ fetch_attrs, cw_fetch_order = fetch_config(['title', 'path'])
def actual_url(self):
url = self._cw.build_url(self.path)
@@ -114,7 +114,7 @@
class CWProperty(AnyEntity):
__regid__ = 'CWProperty'
- fetch_attrs, fetch_order = fetch_config(['pkey', 'value'])
+ fetch_attrs, cw_fetch_order = fetch_config(['pkey', 'value'])
rest_attr = 'pkey'
def typed_value(self):
@@ -130,7 +130,7 @@
class CWCache(AnyEntity):
"""Cache"""
__regid__ = 'CWCache'
- fetch_attrs, fetch_order = fetch_config(['name'])
+ fetch_attrs, cw_fetch_order = fetch_config(['name'])
def touch(self):
self._cw.execute('SET X timestamp %(t)s WHERE X eid %(x)s',