diff -r 42e57dbbc585 -r 6cd6172718bb entity.py --- a/entity.py Wed Apr 22 19:42:17 2009 +0200 +++ b/entity.py Wed Apr 22 19:42:44 2009 +0200 @@ -277,7 +277,7 @@ orderby.append(orderterm) return selection, orderby, restrictions - def __init__(self, req, rset, row=None, col=0): + def __init__(self, req, rset=None, row=None, col=0): AppRsetObject.__init__(self, req, rset, row, col) dict.__init__(self) self._related_cache = {}