summaryrefslogtreecommitdiff
path: root/poezio/text_buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/text_buffer.py')
-rw-r--r--poezio/text_buffer.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py
index 4e0f4b90..f835b38e 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -214,9 +214,8 @@ class TextBuffer(object):
if msg.ack == 1: # Message was already acked
return False
if msg.jid != jid:
- raise AckError(
- 'Wrong JID for message id %s (was %s, expected %s)' %
- (old_id, msg.jid, jid))
+ raise AckError('Wrong JID for message id %s (was %s, expected %s)'
+ % (old_id, msg.jid, jid))
msg.ack = value
if append:
@@ -253,9 +252,9 @@ class TextBuffer(object):
raise CorrectionError('Could not check the '
'identity of the sender')
elif not msg.user and msg.jid != jid:
- raise CorrectionError('Messages %s and %s have not been '
- 'sent by the same fullJID' % (old_id,
- new_id))
+ raise CorrectionError(
+ 'Messages %s and %s have not been '
+ 'sent by the same fullJID' % (old_id, new_id))
if not time:
time = msg.time