projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b25cf05
)
Méthode getMemberFullNameById -> prise en compte des modifications de MemberData.
author
Benoît Pin
<benoit.pin@gmail.com>
Thu, 3 Oct 2013 21:30:34 +0000
(23:30 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Thu, 3 Oct 2013 21:30:34 +0000
(23:30 +0200)
MembershipTool.py
patch
|
blob
|
history
diff --git
a/MembershipTool.py
b/MembershipTool.py
index
166d42a
..
2cfefe6
100755
(executable)
--- a/
MembershipTool.py
+++ b/
MembershipTool.py
@@
-241,10
+241,7
@@
class MembershipTool( BaseTool ):
member = self.getMemberById(userid)
if not member :
return userid
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
return memberFullName