From b20dc9fe2b7c6652a6e600f2e0aedb470c049887 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Fri, 16 Aug 2013 17:47:26 -0400 Subject: [PATCH] Typo in _validate_domain error message s/illegar/illegal/g --- sleekxmpp/jid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/jid.py b/sleekxmpp/jid.py index 51f227cf..620d4160 100644 --- a/sleekxmpp/jid.py +++ b/sleekxmpp/jid.py @@ -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 -')