fix syntax error
authorStephanie Marcu <stephanie.marcu@logilab.fr>
Tue, 19 Jan 2010 17:50:36 +0100
changeset 4267 3ea88c8e7d7f
parent 4266 6bee6f0892e0
child 4268 e9bed3bc1333
fix syntax error
goa/db.py
--- a/goa/db.py	Tue Jan 19 14:41:23 2010 +0100
+++ b/goa/db.py	Tue Jan 19 17:50:36 2010 +0100
@@ -275,7 +275,7 @@
 
     def view(self, vid, __registry='views', **kwargs):
         """shortcut to apply a view on this entity"""
-        return self.vreg[__registry]render(vid, self.req, rset=self.rset,
+        return self.vreg[__registry].render(vid, self.req, rset=self.rset,
                                            row=self.row, col=self.col, **kwargs)
 
     @classmethod