From 7a908ac07b1344dcbb5ee26e0ad4777decb88889 Mon Sep 17 00:00:00 2001 From: Joshua Downer Date: Thu, 28 May 2015 09:35:50 -0400 Subject: Removed duplicate property --- sleekxmpp/jid.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sleekxmpp/jid.py b/sleekxmpp/jid.py index ac5ba30d..613b272e 100644 --- a/sleekxmpp/jid.py +++ b/sleekxmpp/jid.py @@ -528,10 +528,6 @@ class JID(object): def username(self): return self._jid[0] or '' - @property - def bare(self): - return _format_jid(self._jid[0], self._jid[1]) - @property def server(self): return self._jid[1] or '' @@ -556,7 +552,6 @@ class JID(object): def bare(self): return _format_jid(self._jid[0], self._jid[1]) - @resource.setter def resource(self, value): self._jid = JID(self, resource=value)._jid -- cgit v1.2.3