Fixing up the rest of the parsing and IMAP functions, and GMAIL classes as well. Also adding is_debugging() to the UI to allow us to quickly determine if we should build some of the expensive debug objects
This commit is contained in:
@ -60,9 +60,9 @@ class BaseFolder:
|
||||
policy.default.clone(cte_type='8bit', utf8=True, refold_source='none', linesep='\r\n'),
|
||||
}
|
||||
# Parsers
|
||||
self.parse = {
|
||||
'8bit': BytesParser(policy=p1),
|
||||
}
|
||||
self.parser = {}
|
||||
for key in self.policy:
|
||||
self.parser[key] = BytesParser(policy=self.policy[key])
|
||||
# Save original name for folderfilter operations.
|
||||
self.ffilter_name = name
|
||||
# Top level dir name is always ''.
|
||||
|
Reference in New Issue
Block a user