folder/IMAP.py: accord __version__ with import

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2011-01-27 10:27:16 +01:00
parent fa60f3f9b7
commit 9afb432053
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,8 @@ Changes
Bug Fixes
---------
* accord __version__ with import
Pending for the next major release
==================================

View File

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