sobjects/notification.py
branchstable
changeset 3689 deb13e88e037
parent 3580 e270358f68cc
child 3720 5376aaadd16b
child 3877 7ca53fc72a0a
child 4212 ab6573088b4a
--- a/sobjects/notification.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/sobjects/notification.py	Thu Oct 15 20:29:21 2009 +0200
@@ -272,7 +272,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...