summaryrefslogtreecommitdiff
path: root/sleekxmpp/jid.py
diff options
context:
space:
mode:
authorDustin Ingram <dustin.ingram@gmail.com>2013-08-16 17:47:26 -0400
committerDustin Ingram <dustin.ingram@gmail.com>2013-08-16 17:47:26 -0400
commitb20dc9fe2b7c6652a6e600f2e0aedb470c049887 (patch)
treeb5c658c69579a5d8cd6692645612323c132d2b3f /sleekxmpp/jid.py
parent648b03f81172829cae65f6ac9fc551e049310501 (diff)
downloadslixmpp-b20dc9fe2b7c6652a6e600f2e0aedb470c049887.tar.gz
slixmpp-b20dc9fe2b7c6652a6e600f2e0aedb470c049887.tar.bz2
slixmpp-b20dc9fe2b7c6652a6e600f2e0aedb470c049887.tar.xz
slixmpp-b20dc9fe2b7c6652a6e600f2e0aedb470c049887.zip
Typo in _validate_domain error message
s/illegar/illegal/g
Diffstat (limited to 'sleekxmpp/jid.py')
-rw-r--r--sleekxmpp/jid.py2
1 files changed, 1 insertions, 1 deletions
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 -')