assert select() tls-sprint
authorsylvain.thenault@logilab.fr
Fri, 20 Feb 2009 01:13:50 +0100
branchtls-sprint
changeset 875 dd83bd56deae
parent 874 90d98d80af82
child 876 f652660ae9a6
assert select()
appobject.py
--- a/appobject.py	Fri Feb 20 00:05:57 2009 +0100
+++ b/appobject.py	Fri Feb 20 01:13:50 2009 +0100
@@ -69,6 +69,10 @@
         selection according to a request, a result set, and optional
         row and col
         """
+        assert len(args) <= 2
+#         for key in ('req', 'rset'):
+#             if key in kwargs:
+#                 args += (kwargs.pop(key),)
         instance = cls(*args)
         instance.row = kwargs.pop('row', None)
         instance.col = kwargs.pop('col', None)