summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-11-10 21:15:08 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-11-10 21:15:08 +0000
commit545902be7d625f29d00eceb1707afa36af20d137 (patch)
treec16da52b478c664560ec2e6b4008ca56d6a574f2 /src/contact.py
parent0f39961a5d12ecad0e8311c1f6eb6d54de3423ee (diff)
downloadpoezio-545902be7d625f29d00eceb1707afa36af20d137.tar.gz
poezio-545902be7d625f29d00eceb1707afa36af20d137.tar.bz2
poezio-545902be7d625f29d00eceb1707afa36af20d137.tar.xz
poezio-545902be7d625f29d00eceb1707afa36af20d137.zip
ConversationTab interface
Diffstat (limited to 'src/contact.py')
-rw-r--r--src/contact.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/contact.py b/src/contact.py
index 35a4a4a8..1eb41f72 100644
--- a/src/contact.py
+++ b/src/contact.py
@@ -14,12 +14,12 @@
# You should have received a copy of the GNU General Public License
# along with Poezio. If not, see <http://www.gnu.org/licenses/>.
-
"""
Defines the Resource and Contact classes
"""
-
from sleekxmpp.xmlstream.stanzabase import JID
+import logging
+log = logging.getLogger(__name__)
class Resource(object):
"""
@@ -54,7 +54,7 @@ class Resource(object):
def get_status(self):
return self._status
- def set__status(self, s):
+ def set_status(self, s):
self._status = s
class Contact(object):