any_rset is a better name than rset 3.0
authorsylvain.thenault@logilab.fr
Thu, 15 Jan 2009 13:27:17 +0100
branch3.0
changeset 430 6fbc0ab79a2d
parent 429 10854a2f9c03
child 431 18b4dd650ef8
any_rset is a better name than rset
common/selectors.py
--- a/common/selectors.py	Thu Jan 15 13:26:46 2009 +0100
+++ b/common/selectors.py	Thu Jan 15 13:27:17 2009 +0100
@@ -111,12 +111,12 @@
 norset_selector = deprecated_function(none_rset)
 
 @lltrace
-def rset(cls, req, rset, *args, **kwargs):
+def any_rset(cls, req, rset, *args, **kwargs):
     """accept result set, whatever the number of result"""
     if rset is not None:
         return 1
     return 0
-rset_selector = deprecated_function(rset)
+rset_selector = deprecated_function(any_rset)
 
 @lltrace
 def nonempty_rset(cls, req, rset, *args, **kwargs):