summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/jid.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2010-10-17 03:09:40 +0800
committerLance Stout <lancestout@gmail.com>2010-10-17 08:55:30 +0800
commit2755d732a4e2843b4a685ec0ef57ee0f7c0f685f (patch)
treead202db838b9f64147ee1ec5ebddd2efbf85cb6a /sleekxmpp/xmlstream/jid.py
parent2d18d905a537587ee9685877ae2c108511e57d91 (diff)
downloadslixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.tar.gz
slixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.tar.bz2
slixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.tar.xz
slixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.zip
Remove deprecation warnings
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
Diffstat (limited to 'sleekxmpp/xmlstream/jid.py')
-rw-r--r--sleekxmpp/xmlstream/jid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/jid.py b/sleekxmpp/xmlstream/jid.py
index aa17c7bc..7362814e 100644
--- a/sleekxmpp/xmlstream/jid.py
+++ b/sleekxmpp/xmlstream/jid.py
@@ -102,7 +102,7 @@ class JID(object):
d = value
object.__setattr__(self, "_domain", d)
else:
- self.reset(value)
+ self.reset(value)
elif name == 'bare':
if '@' in value:
u, d = value.split('@', 1)