summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
-rw-r--r--src/tabs.py4
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