summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-02-09 11:08:14 +0100
committermathieui <mathieui@mathieui.net>2012-02-09 11:08:14 +0100
commit42c8deb9e19bde492c3f17d8f07f5b277eee4d04 (patch)
treed10d13cc22ef267460072d06bfb1951506b31b7f
parent93c17f8ece0681592aeacd2ac541ba7d2194ebf5 (diff)
downloadpoezio-42c8deb9e19bde492c3f17d8f07f5b277eee4d04.tar.gz
poezio-42c8deb9e19bde492c3f17d8f07f5b277eee4d04.tar.bz2
poezio-42c8deb9e19bde492c3f17d8f07f5b277eee4d04.tar.xz
poezio-42c8deb9e19bde492c3f17d8f07f5b277eee4d04.zip
Remove some debugging prints
-rw-r--r--plugins/gpg/__init__.py1
-rw-r--r--src/tabs.py6
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/gpg/__init__.py b/plugins/gpg/__init__.py
index 620a4589..00d896cd 100644
--- a/plugins/gpg/__init__.py
+++ b/plugins/gpg/__init__.py
@@ -158,7 +158,6 @@ class Plugin(BasePlugin):
if jid.full not in self.contacts.keys():
return ''
status = self.contacts[jid.full]
- self.core.information('%s' % (status,))
if status in ('valid', 'invalid', 'signed'):
return ' GPG Key: %s (%s)' % (status, 'encrypted' if status == 'valid' else 'NOT encrypted',)
else:
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):