summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathieu Pasquet <mathieui@mathieui.net>2014-02-01 17:57:24 +0100
committerMathieu Pasquet <mathieui@mathieui.net>2014-02-01 17:57:24 +0100
commit8fbf50fa8ee2d71a9793ebb73ec8609042495ae0 (patch)
tree08480f466795af54bb172f6a42ed72e2935ed8f4 /src
parentc16fc9c3e92a3750dbcbd13fd6eb39146b9ed09d (diff)
downloadpoezio-8fbf50fa8ee2d71a9793ebb73ec8609042495ae0.tar.gz
poezio-8fbf50fa8ee2d71a9793ebb73ec8609042495ae0.tar.bz2
poezio-8fbf50fa8ee2d71a9793ebb73ec8609042495ae0.tar.xz
poezio-8fbf50fa8ee2d71a9793ebb73ec8609042495ae0.zip
Fix #2443 (:)
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