Catch failed and exceptions as well for hacky balcklist

This commit is contained in:
Joseph Kahn 2016-04-08 10:15:56 -04:00
parent e266b2476c
commit 06919ed0a4
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ class FilteringStream(object):
self.__excludes = list(map(re.compile, excludes))
def __should_filter(self, a):
if a != ('.',):
if a not in [('.',), ('E',), ('F',)]:
return False
try:
stack = traceback.extract_stack(limit=3)[0]