Ignore error when untyped Module has no dispatch.

This commit is contained in:
Jason R. Coombs 2020-11-29 15:52:04 -05:00
parent acbb6b3e93
commit 572d7b2e02

View File

@ -113,7 +113,7 @@ class Options(usage.Options):
create_dispatch = {} create_dispatch = {}
for module in (create_node, stats_gatherer): for module in (create_node, stats_gatherer):
create_dispatch.update(module.dispatch) create_dispatch.update(module.dispatch) # type: ignore
def parse_options(argv, config=None): def parse_options(argv, config=None):
if not config: if not config: