Remove unused arg in __init__ of Property

This commit is contained in:
Cédric Krier committed 2008-04-09 10:48:29 +02:00
1 parent 6ad9294df0
commit b2bcb5ec7b
1 file changed
+2 -3
+2 -3
View File
@@ -615,9 +615,8 @@ class Property(Function):
res[i] = False
return res
def __init__(self, obj_prop, **args):
function.__init__(self, '', False, self._fnct_write,
obj_prop, **args)
def __init__(self, **args):
function.__init__(self, '', None, self._fnct_write, None, **args)
def get(self, cursor, obj, ids, name, user=None, offset=0, context=None,
values=None):