selectors.py
branchtls-sprint
changeset 788 d62fb3e9797d
parent 784 33db07c66789
child 789 9efbb54f9cac
--- a/selectors.py	Wed Feb 18 15:01:58 2009 +0100
+++ b/selectors.py	Wed Feb 18 15:02:10 2009 +0100
@@ -741,6 +741,8 @@
         
     @lltrace
     def __call__(self, cls, req, rset, row=None, col=0, **kwargs):
+        if rset is None:
+            return 0
         user = req.user
         action = self.action
         if row is None: