From 8fbf50fa8ee2d71a9793ebb73ec8609042495ae0 Mon Sep 17 00:00:00 2001 From: Mathieu Pasquet Date: Sat, 1 Feb 2014 17:57:24 +0100 Subject: Fix #2443 (:) --- src/core.py | 2 +- src/tabs.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core.py b/src/core.py index e64dd89b..ab068397 100644 --- a/src/core.py +++ b/src/core.py @@ -1600,7 +1600,7 @@ class Core(object): pres = self.xmpp.make_presence(pto=jid, ptype=type, pstatus=status) self.events.trigger('send_normal_presence', pres) pres.send() - except : + except: self.information(_('Could not send directed presence'), 'Error') log.debug('Could not send directed presence to %s', jid, exc_info=True) return diff --git a/src/tabs.py b/src/tabs.py index ac8011ac..45c7002c 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -2684,7 +2684,7 @@ class RosterInfoTab(Tab): def command_remove(self, args): """ - Remove the specified JID from the roster. i.e. : unsubscribe + Remove the specified JID from the roster. i.e.: unsubscribe from its presence, and cancel its subscription to our. """ if args.strip(): @@ -3270,7 +3270,7 @@ class ConversationTab(ChatTab): else: resource = None if resource: - status = (_('Status : %s') % resource.status) if resource.status else '' + status = (_('Status: %s') % resource.status) if resource.status else '' self._text_buffer.add_message("\x19%(info_col)s}Show: %(show)s, %(status)s\x19o" % { 'show': resource.show or 'available', 'status': status, 'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)}) return True -- cgit v1.2.3