From 9ccf7cc65b322a9637dd78fc59d5fc875c5b0d6d Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 18 Jun 2004 14:38:22 +0000
Subject: [PATCH] crasy call of _setLastName and _setFirstName with self as
 first argument, fixed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1043 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/Person.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/Document/Person.py b/product/ERP5/Document/Person.py
index 2e7f4ed5aa..0e6809918f 100755
--- a/product/ERP5/Document/Person.py
+++ b/product/ERP5/Document/Person.py
@@ -164,7 +164,7 @@ etc.)."""
       """
         Updates the first_name if necessary
       """
-      self._setFirstName(self, value)
+      self._setFirstName(value)
       self.reindexObject()
 
     def _setLastName(self, value):
@@ -180,5 +180,5 @@ etc.)."""
       """
         Updates the last_name if necessary
       """
-      self._setLastName(self, value)
+      self._setLastName(value)
       self.reindexObject()
-- 
2.30.9