summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):