Changeset 5210 for WAeUP_SRP/trunk/WAeUPTool.py
- Timestamp:
- 1 Jun 2010, 17:55:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r5191 r5210 743 743 membership = self.portal_membership 744 744 member_record = membership.getMemberById(mid) 745 firstname = member_record.getProperty('givenName','') 746 lastname = member_record.getProperty('sn','') 747 return firstname + ' ' + lastname.upper() 745 if member_record: 746 firstname = member_record.getProperty('givenName','') 747 lastname = member_record.getProperty('sn','') 748 return firstname + ' ' + lastname.upper() 749 else: 750 return mid 748 751 ###) 749 752
Note: See TracChangeset for help on using the changeset viewer.