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):