mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
Ignore error when untyped Module has no dispatch.
This commit is contained in:
parent
acbb6b3e93
commit
572d7b2e02
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user