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:
@ -231,6 +231,9 @@ class UIBase:
|
||||
else:
|
||||
self.invaliddebug(debugtype)
|
||||
|
||||
def is_debugging(self, debugtype):
|
||||
return (debugtype in self.debuglist)
|
||||
|
||||
def debugging(self, debugtype):
|
||||
global debugtypes
|
||||
self.logger.debug("Now debugging for %s: %s" % (debugtype,
|
||||
|
Reference in New Issue
Block a user