summaryrefslogtreecommitdiff
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-06-15 19:04:29 -0400
committerBrett Cannon <brett@python.org>2012-06-15 19:04:29 -0400
commit24aa693c7ef8f217fbd238eb7af7d828e13a07eb (patch)
tree7d01ab630c2e8eef1e168b1aa5d84131b60cfd50 /Lib/mailbox.py
parent99d776fdf4aa5a66266ebcec2263fab501f03088 (diff)
parent016ef551a793f72f582d707ce5bb55bf4940cf27 (diff)
downloadcpython-git-24aa693c7ef8f217fbd238eb7af7d828e13a07eb.tar.gz
Merge
Diffstat (limited to 'Lib/mailbox.py')
-rw-r--r--Lib/mailbox.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py
index 7a29555e4a..d86ad94478 100644
--- a/Lib/mailbox.py
+++ b/Lib/mailbox.py
@@ -675,6 +675,7 @@ class _singlefileMailbox(Mailbox):
new_file.write(buffer)
new_toc[key] = (new_start, new_file.tell())
self._post_message_hook(new_file)
+ self._file_length = new_file.tell()
except:
new_file.close()
os.remove(new_file.name)