--- a/iro/validate.py Mon Jan 30 21:40:46 2012 +0100
+++ b/iro/validate.py Mon Jan 30 22:15:21 2012 +0100
@@ -65,6 +65,7 @@
raise InvalidMail(v,field)
if local == "":
+ ret.append(v)
continue
if local.startswith(".") or local.endswith("."):
raise InvalidMail(v,field)
@@ -82,7 +83,7 @@
unquote = not unquote
c+=1
elif part == '' or part[-1] != "\\":
- if unquote and part != "": #quoted parts must be seperated by a dot
+ if unquote and part != "": #quoted parts must be seperated by a dot
if part[0] != ".":
raise InvalidMail(v,field)
if i < len(parts)-1 and part[-1] != '.':