folder/IMAP.py: accord __version__ with import
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
fa60f3f9b7
commit
9afb432053
@ -19,6 +19,8 @@ Changes
|
|||||||
Bug Fixes
|
Bug Fixes
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
* accord __version__ with import
|
||||||
|
|
||||||
|
|
||||||
Pending for the next major release
|
Pending for the next major release
|
||||||
==================================
|
==================================
|
||||||
|
@ -234,7 +234,7 @@ class IMAPFolder(BaseFolder):
|
|||||||
headervalue += binascii.hexlify(self.getname())
|
headervalue += binascii.hexlify(self.getname())
|
||||||
headervalue += '-%d-' % long(time.time())
|
headervalue += '-%d-' % long(time.time())
|
||||||
headervalue += str(self.randomgenerator.random()).replace('.', '')
|
headervalue += str(self.randomgenerator.random()).replace('.', '')
|
||||||
headervalue += '-v' + offlineimap.__version__
|
headervalue += '-v' + __version__
|
||||||
return (headername, headervalue)
|
return (headername, headervalue)
|
||||||
|
|
||||||
def savemessage_addheader(self, content, headername, headervalue):
|
def savemessage_addheader(self, content, headername, headervalue):
|
||||||
|
Loading…
Reference in New Issue
Block a user