X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/f50fc603d5861a70d4fd868dad307b6a058a4203..2588b51e00f5bc3ba9760cf15680a89e87bc86cc:/MembershipTool.py?ds=sidebyside 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