Remove deprecation warnings

Remove all the deprecation warnings by using only boundjid.
And also fix a indentation error.
This commit is contained in:
Florent Le Coz
2010-10-17 03:09:40 +08:00
committed by Lance Stout
parent 2d18d905a5
commit 2755d732a4
3 changed files with 9 additions and 9 deletions

View File

@@ -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)