view.py
branchstable
changeset 3689 deb13e88e037
parent 3326 e3089ceee1ea
child 3720 5376aaadd16b
child 3782 c69fe7493b91
--- a/view.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/view.py	Thu Oct 15 20:29:21 2009 +0200
@@ -202,7 +202,7 @@
         coltypes = rset.column_types(0)
         if len(coltypes) == 1:
             etype = iter(coltypes).next()
-            if not self.schema.eschema(etype).is_final():
+            if not self.schema.eschema(etype).final:
                 if len(rset) == 1:
                     entity = rset.get_entity(0, 0)
                     return entity.absolute_url(vid=self.id)