fix custom selector tls-sprint
authorsylvain.thenault@logilab.fr
Fri, 20 Feb 2009 01:15:20 +0100
branchtls-sprint
changeset 879 329fd038c5a3
parent 878 1b5f2068743e
child 880 d46cf89ead07
fix custom selector
web/views/eproperties.py
--- a/web/views/eproperties.py	Fri Feb 20 01:14:46 2009 +0100
+++ b/web/views/eproperties.py	Fri Feb 20 01:15:20 2009 +0100
@@ -214,8 +214,8 @@
 
 
 
-def is_user_prefs(cls, req, rset, row, col):
-    return req.user.eid == rset[row or 0 ][col or 0]
+def is_user_prefs(cls, req, rset, row=None, col=0, **kwargs):
+    return req.user.eid == rset[row or 0][col]
 
 
 class EPropertiesForm(SystemEPropertiesForm):