From 42c8deb9e19bde492c3f17d8f07f5b277eee4d04 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 9 Feb 2012 11:08:14 +0100 Subject: Remove some debugging prints --- src/tabs.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/tabs.py') diff --git a/src/tabs.py b/src/tabs.py index e0c71758..4cf5c479 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1422,11 +1422,10 @@ class PrivateTab(ChatTab): def on_attention_checked(self, iq): if 'urn:xmpp:attention:0' in iq['disco_info'].get_features(): - self.core.information('Attention is supported!', 'Info') + self.core.information('Attention is supported', 'Info') self.remote_supports_attention = True self.commands['attention'] = (self.command_attention, _('Usage: /attention [message]\nAttention: Require the attention of the contact. Can also send a message along with the attention.'), None) else: - self.core.information('Attention is not supported. :(', 'Info') self.remote_supports_attention = False def command_unquery(self, arg): @@ -2204,11 +2203,10 @@ class ConversationTab(ChatTab): def on_attention_checked(self, iq): if 'urn:xmpp:attention:0' in iq['disco_info'].get_features(): - self.core.information('Attention is supported!', 'Info') + self.core.information('Attention is supported', 'Info') self.remote_supports_attention = True self.commands['attention'] = (self.command_attention, _('Usage: /attention [message]\nAttention: Require the attention of the contact. Can also send a message along with the attention.'), None) else: - self.core.information('Attention is not supported. :(', 'Info') self.remote_supports_attention = False def command_unquery(self, arg): -- cgit v1.2.3