--- a/VirtualMailManager/emailaddress.py Thu Aug 05 05:08:02 2010 +0000
+++ b/VirtualMailManager/emailaddress.py Thu Aug 05 23:26:23 2010 +0000
@@ -68,16 +68,16 @@
parts = address.split('@')
p_len = len(parts)
if p_len < 2:
- raise EAErr(_(u"Missing the '@' sign in address %r") % address,
+ raise EAErr(_(u"Missing the '@' sign in address '%s'") % address,
INVALID_ADDRESS)
elif p_len > 2:
- raise EAErr(_(u"Too many '@' signs in address %r") % address,
+ raise EAErr(_(u"Too many '@' signs in address '%s'") % address,
INVALID_ADDRESS)
if not parts[0]:
- raise EAErr(_(u'Missing local-part in address %r') % address,
+ raise EAErr(_(u"Missing local-part in address '%s'") % address,
LOCALPART_INVALID)
if not parts[1]:
- raise EAErr(_(u'Missing domain name in address %r') % address,
+ raise EAErr(_(u"Missing domain name in address '%s'") % address,
DOMAIN_NO_NAME)
self._localpart = check_localpart(parts[0])
self._domainname = check_domainname(parts[1])