Fix deprecation warning for setting self.resource

This commit is contained in:
Lance Stout 2012-07-20 22:04:36 -07:00
parent 06423964ec
commit 6680c244f5

View file

@ -598,7 +598,7 @@ class BaseXMPP(XMLStream):
@resource.setter @resource.setter
def resource(self, value): def resource(self, value):
log.warning("fulljid property deprecated. Use boundjid.full") log.warning("fulljid property deprecated. Use boundjid.resource")
self.boundjid.resource = value self.boundjid.resource = value
@property @property