From 9afb432053064da3c79ada6044bcc3c0c2285908 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Thu, 27 Jan 2011 10:27:16 +0100 Subject: [PATCH] folder/IMAP.py: accord __version__ with import Signed-off-by: Nicolas Sebrecht --- Changelog.draft.rst | 2 ++ offlineimap/folder/IMAP.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog.draft.rst b/Changelog.draft.rst index 8b599f9..1ff75b9 100644 --- a/Changelog.draft.rst +++ b/Changelog.draft.rst @@ -19,6 +19,8 @@ Changes Bug Fixes --------- +* accord __version__ with import + Pending for the next major release ================================== diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py index 76f0c4a..77d6f36 100644 --- a/offlineimap/folder/IMAP.py +++ b/offlineimap/folder/IMAP.py @@ -234,7 +234,7 @@ class IMAPFolder(BaseFolder): headervalue += binascii.hexlify(self.getname()) headervalue += '-%d-' % long(time.time()) headervalue += str(self.randomgenerator.random()).replace('.', '') - headervalue += '-v' + offlineimap.__version__ + headervalue += '-v' + __version__ return (headername, headervalue) def savemessage_addheader(self, content, headername, headervalue):