Remove deprecation warnings
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
This commit is contained in:
committed by
Lance Stout
parent
2d18d905a5
commit
2755d732a4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user