Skip to content

Commit 42c8deb

Browse files
committed
Remove some debugging prints
1 parent 93c17f8 commit 42c8deb

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

plugins/gpg/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ def display_encryption_status(self, jid):
158158
if jid.full not in self.contacts.keys():
159159
return ''
160160
status = self.contacts[jid.full]
161-
self.core.information('%s' % (status,))
162161
if status in ('valid', 'invalid', 'signed'):
163162
return ' GPG Key: %s (%s)' % (status, 'encrypted' if status == 'valid' else 'NOT encrypted',)
164163
else:

src/tabs.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1422,11 +1422,10 @@ def check_attention(self):
14221422

14231423
def on_attention_checked(self, iq):
14241424
if 'urn:xmpp:attention:0' in iq['disco_info'].get_features():
1425-
self.core.information('Attention is supported!', 'Info')
1425+
self.core.information('Attention is supported', 'Info')
14261426
self.remote_supports_attention = True
14271427
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)
14281428
else:
1429-
self.core.information('Attention is not supported. :(', 'Info')
14301429
self.remote_supports_attention = False
14311430

14321431
def command_unquery(self, arg):
@@ -2204,11 +2203,10 @@ def check_attention(self):
22042203

22052204
def on_attention_checked(self, iq):
22062205
if 'urn:xmpp:attention:0' in iq['disco_info'].get_features():
2207-
self.core.information('Attention is supported!', 'Info')
2206+
self.core.information('Attention is supported', 'Info')
22082207
self.remote_supports_attention = True
22092208
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)
22102209
else:
2211-
self.core.information('Attention is not supported. :(', 'Info')
22122210
self.remote_supports_attention = False
22132211

22142212
def command_unquery(self, arg):

0 commit comments

Comments
 (0)