summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-08-16 14:52:49 -0700
committerLance Stout <lancestout@gmail.com>2013-08-16 14:52:49 -0700
commitf7c042fc779882c0dea8c1939ab3504049cb6eca (patch)
treeb5c658c69579a5d8cd6692645612323c132d2b3f /sleekxmpp
parent648b03f81172829cae65f6ac9fc551e049310501 (diff)
parentb20dc9fe2b7c6652a6e600f2e0aedb470c049887 (diff)
downloadslixmpp-f7c042fc779882c0dea8c1939ab3504049cb6eca.tar.gz
slixmpp-f7c042fc779882c0dea8c1939ab3504049cb6eca.tar.bz2
slixmpp-f7c042fc779882c0dea8c1939ab3504049cb6eca.tar.xz
slixmpp-f7c042fc779882c0dea8c1939ab3504049cb6eca.zip
Merge pull request #257 from di/patch-1
Typo in _validate_domain error message
Diffstat (limited to 'sleekxmpp')
-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 -')