Codebase list dnsviz / 6e50cba
Make class global, so it works in parallel Casey Deccio 7 years ago
1 changed file(s) with 5 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
137137 except:
138138 logger.exception('Error analyzing %s' % fmt.humanize_name(name))
139139 return None
140
141 class CustomQueryMixin(object):
142 pass
140143
141144 class BulkAnalyst(object):
142145 analyst_cls = PrivateAnalyst
10631066 flush = '-F' in opts
10641067
10651068 if '-e' in opts:
1066 class Foo(object):
1067 edns_options = [_get_ecs_option(opts['-e'])]
1068 query_class_mixin = Foo
1069 CustomQueryMixin.edns_options = [_get_ecs_option(opts['-e'])]
1070 query_class_mixin = CustomQueryMixin
10691071 else:
10701072 query_class_mixin = None
10711073