hooks/syncsession.py
changeset 9469 032825bbacab
parent 8696 0bb18407c053
child 9913 a74e9e43806a
--- a/hooks/syncsession.py	Thu Jan 23 12:32:16 2014 +0100
+++ b/hooks/syncsession.py	Thu Jan 23 13:47:28 2014 +0100
@@ -229,7 +229,7 @@
     def __call__(self):
         session = self._cw
         eidfrom = self.eidfrom
-        if not session.describe(eidfrom)[0] == 'CWProperty':
+        if not session.entity_metas(eidfrom)['type'] == 'CWProperty':
             return
         key, value = session.execute('Any K,V WHERE P eid %(x)s,P pkey K,P value V',
                                      {'x': eidfrom})[0]