diff options
author | Krzysztof <kkszysiu@gmail.com> | 2011-03-27 16:55:52 +0200 |
---|---|---|
committer | Krzysztof <kkszysiu@gmail.com> | 2011-03-27 16:55:52 +0200 |
commit | f4f6d7434028a75882739d4f995aa8aefb525b65 (patch) | |
tree | f0eab9f2c4e227426e83ace632b2aad5b9a664e5 | |
parent | 3a1e8f3855fa42dc16e9e29530ead1c89529a95c (diff) |
Minor changes.
-rwxr-xr-x | sunshine/lqsoft/pygadu/models.py | 2 | ||||
-rwxr-xr-x | sunshine/lqsoft/pygadu/twisted_protocol.py | 2 |
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 |