Run formatters

This commit is contained in:
Joel Bradshaw 2022-06-05 13:41:00 -07:00
parent 7ae0db7f4a
commit 7014786fe0

View file

@ -3,10 +3,10 @@ import logging
class IgnoreVariableDoesNotExist(logging.Filter):
def filter(self, record):
if(record.exc_info):
if record.exc_info:
(errType, errValue, _) = record.exc_info
while errValue:
if type(errValue).__name__ == 'VariableDoesNotExist':
if type(errValue).__name__ == "VariableDoesNotExist":
return False
errValue = errValue.__context__
return True