From ddddef2ef68212cbaba3219b0a28ddb9ac987278 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 3 Oct 2013 23:30:34 +0200 Subject: [PATCH 1/1] =?utf8?q?M=C3=A9thode=20getMemberFullNameById=20->=20?= =?utf8?q?prise=20en=20compte=20des=20modifications=20de=20MemberData.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- MembershipTool.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MembershipTool.py b/MembershipTool.py index 166d42a..2cfefe6 100755 --- a/MembershipTool.py +++ b/MembershipTool.py @@ -241,10 +241,7 @@ class MembershipTool( BaseTool ): member = self.getMemberById(userid) if not member : return userid - memberName = getattr(member, 'name', '') - memberGivenName = getattr(member, 'given_name', '') - memberId = member.getId() - memberFullName = formatFullName(memberName, memberGivenName, memberId, nameBefore = nameBefore) + memberFullName = member.getMemberFullName(nameBefore=nameBefore) return memberFullName -- 2.20.1