web/views/startup.py
branchstable
changeset 3689 deb13e88e037
parent 3500 ab10d1cb53ff
child 3720 5376aaadd16b
child 3877 7ca53fc72a0a
child 4212 ab6573088b4a
--- a/web/views/startup.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/web/views/startup.py	Thu Oct 15 20:29:21 2009 +0200
@@ -140,7 +140,7 @@
         """
         req = self.req
         for eschema in eschemas:
-            if eschema.is_final() or (not eschema.has_perm(req, 'read') and
+            if eschema.final or (not eschema.has_perm(req, 'read') and
                                       not eschema.has_local_role('read')):
                 continue
             etype = eschema.type