sobjects/notification.py
changeset 3720 5376aaadd16b
parent 3589 a5432f99f2d9
parent 3689 deb13e88e037
child 3890 d7a270f50f54
--- a/sobjects/notification.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/sobjects/notification.py	Mon Oct 19 15:16:41 2009 +0200
@@ -152,7 +152,7 @@
         for attr, oldvalue, newvalue in sorted(changes):
             # check current user has permission to see the attribute
             rschema = self.vreg.schema[attr]
-            if rschema.is_final():
+            if rschema.final:
                 if not rschema.has_perm(self.req, 'read', eid=self.rset[0][0]):
                     continue
             # XXX suppose it's a subject relation...