diff -r b9eb2475b446 -r d62fb3e9797d selectors.py --- 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: