git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
instrument the email-checking code to expose problematic email address in exception
[plcapi.git]
/
PLC
/
Persons.py
diff --git
a/PLC/Persons.py
b/PLC/Persons.py
index
da432a1
..
8276c06
100644
(file)
--- a/
PLC/Persons.py
+++ b/
PLC/Persons.py
@@
-78,7
+78,7
@@
class Person(Row):
Validate email address. Stolen from Mailman.
"""
email = email.lower()
- invalid_email = PLCInvalidArgument("Invalid e-mail address
"
)
+ invalid_email = PLCInvalidArgument("Invalid e-mail address
%s"%email
)
if not email:
raise invalid_email