Typo in _validate_domain error message

s/illegar/illegal/g
This commit is contained in:
Dustin Ingram 2013-08-16 17:47:26 -04:00
parent 648b03f811
commit b20dc9fe2b

View file

@ -228,7 +228,7 @@ def _validate_domain(domain):
for char in label:
if char in ILLEGAL_CHARS:
raise InvalidJID('Domain contains illegar characters')
raise InvalidJID('Domain contains illegal characters')
if '-' in (label[0], label[-1]):
raise InvalidJID('Domain started or ended with -')