summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof <kkszysiu@gmail.com>2011-03-27 16:55:52 +0200
committerKrzysztof <kkszysiu@gmail.com>2011-03-27 16:55:52 +0200
commitf4f6d7434028a75882739d4f995aa8aefb525b65 (patch)
treef0eab9f2c4e227426e83ace632b2aad5b9a664e5
parent3a1e8f3855fa42dc16e9e29530ead1c89529a95c (diff)
Minor changes.
-rwxr-xr-xsunshine/lqsoft/pygadu/models.py2
-rwxr-xr-xsunshine/lqsoft/pygadu/twisted_protocol.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/sunshine/lqsoft/pygadu/models.py b/sunshine/lqsoft/pygadu/models.py
index c3149b5..14c8cdb 100755
--- a/sunshine/lqsoft/pygadu/models.py
+++ b/sunshine/lqsoft/pygadu/models.py
@@ -111,7 +111,7 @@ class GaduProfile(object):
def setMyState(self, new_state, new_description=''):
if not self.connected:
- raise RuntimeError("You need to be connected, to import contact list from the server.")
+ raise RuntimeError("You need to be connected, to change your status or presence.")
self.__connection.changeStatus(new_state, new_description)
diff --git a/sunshine/lqsoft/pygadu/twisted_protocol.py b/sunshine/lqsoft/pygadu/twisted_protocol.py
index 859e256..f3a4b04 100755
--- a/sunshine/lqsoft/pygadu/twisted_protocol.py
+++ b/sunshine/lqsoft/pygadu/twisted_protocol.py
@@ -276,8 +276,6 @@ class GaduClient(Protocol):
def changeStatus(self, status, desc=''):
change_status_class = Resolver.by_name('ChangeStatusPacket')
- print ChangeStatusPacket.STATUS.FFC
-
if status == 'NOT_AVAILABLE':
if desc == '' or desc == None:
gg_status = change_status_class.STATUS.NOT_AVAILABLE