Fixed overlooked variable when debugging is on.

Should finalize implementation of enhancement #48
https://github.com/OfflineIMAP/offlineimap3/issues/48

And fix issues #43 and #44
https://github.com/OfflineIMAP/offlineimap3/issues/43
https://github.com/OfflineIMAP/offlineimap3/issues/44
This commit is contained in:
Joseph Ishac 2021-02-23 20:00:01 -05:00
parent 259bf83607
commit 8df3fa1b5f

View File

@ -688,7 +688,7 @@ class BaseFolder:
Returns: header value or None if no such header was found. Returns: header value or None if no such header was found.
""" """
self.ui.debug('', 'getmessageheader: called to get %s' % name) self.ui.debug('', 'getmessageheader: called to get %s' % headername)
return msg.get(headername) return msg.get(headername)
def getmessageheaderlist(self, msg, headername): def getmessageheaderlist(self, msg, headername):
@ -704,7 +704,7 @@ class BaseFolder:
found. found.
""" """
self.ui.debug('', 'getmessageheaderlist: called to get %s' % name) self.ui.debug('', 'getmessageheaderlist: called to get %s' % headername)
return msg.get_all(headername, []) return msg.get_all(headername, [])
def deletemessageheaders(self, msg, header_list): def deletemessageheaders(self, msg, header_list):