From b2bcb5ec7bf537f9b341656c3d51c86edae17fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 9 Apr 2008 10:48:29 +0200 Subject: [PATCH] Remove unused arg in __init__ of Property --- trytond/osv/fields.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/trytond/osv/fields.py b/trytond/osv/fields.py index f973ad8ce5..080076821a 100644 --- a/trytond/osv/fields.py +++ b/trytond/osv/fields.py @@ -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):