Changeset 7364 for main/waeup.sirp/trunk/src/waeup/sirp/utils
- Timestamp:
- 17 Dec 2011, 12:54:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/utils.py
r7359 r7364 20 20 import grok 21 21 import smtplib 22 from string import capwords 22 23 from email.mime.text import MIMEText 23 24 from waeup.sirp.interfaces import ISIRPUtils … … 57 58 # We do not necessarily have the middlename attribute 58 59 if middlename: 59 return '%s %s %s' % (firstname, middlename, lastname)60 return capwords('%s %s %s' % (firstname, middlename, lastname)) 60 61 else: 61 return '%s %s' % (firstname, lastname)62 return capwords('%s %s' % (firstname, lastname))
Note: See TracChangeset for help on using the changeset viewer.