goa/appobjects/components.py
branchstable
changeset 3689 deb13e88e037
parent 2996 866a2c135c33
child 3720 5376aaadd16b
child 4212 ab6573088b4a
--- a/goa/appobjects/components.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/goa/appobjects/components.py	Thu Oct 15 20:29:21 2009 +0200
@@ -67,7 +67,7 @@
     """
     req = self.req
     for eschema in eschemas:
-        if eschema.is_final() or not (eschema.has_perm(req, 'read') or
+        if eschema.final or not (eschema.has_perm(req, 'read') or
                                       eschema.has_local_role('read')):
             continue
         etype = eschema.type