From 2755d732a4e2843b4a685ec0ef57ee0f7c0f685f Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 17 Oct 2010 03:09:40 +0800 Subject: Remove deprecation warnings Remove all the deprecation warnings by using only boundjid. And also fix a indentation error. --- sleekxmpp/xmlstream/jid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/xmlstream') 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) -- cgit v1.2.3