selectors.py
changeset 5568 83acff1b50cc
parent 5567 bb97cd6ded2d
child 5627 a7e40cccdc9b
--- a/selectors.py	Fri May 21 15:02:42 2010 +0200
+++ b/selectors.py	Fri May 21 15:02:56 2010 +0200
@@ -561,7 +561,7 @@
 
     @lltrace
     def __call__(self, cls, req, rset=None, **kwargs):
-        return rset is not None and self.match_expected(rset.rowcount)
+        return int(rset is not None and self.match_expected(rset.rowcount))
 
 
 class multi_columns_rset(multi_lines_rset):