nightly was failing with invalid email address, as the host part of e-mail address...
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 14 Dec 2009 08:53:38 +0000 (08:53 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 14 Dec 2009 08:53:38 +0000 (08:53 +0000)
PLC/Persons.py

index 8aa638e..d5ee82f 100644 (file)
@@ -84,7 +84,7 @@ class Person(Row):
         if not email:
             raise invalid_email
 
-        email_re = re.compile('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-_]+\.[a-zA-Z]+')
+       email_re = re.compile('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+')
         if not email_re.match(email):
             raise invalid_email