mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
Some subclasses use ints, so just go for Any
This commit is contained in:
parent
e0eb63929a
commit
1b92da75fa
@ -5,7 +5,7 @@ import codecs
|
||||
from os.path import join
|
||||
|
||||
try:
|
||||
from typing import Optional, Sequence, List
|
||||
from typing import Optional, Sequence, List, Any
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
@ -69,7 +69,7 @@ class BasedirOptions(BaseOptions):
|
||||
optParameters = [
|
||||
["basedir", "C", None, "Specify which Tahoe base directory should be used. [default: %s]"
|
||||
% quote_local_unicode_path(_default_nodedir)],
|
||||
] # type: List[Sequence[Optional[str]]]
|
||||
] # type: List[Sequence[Any]]
|
||||
|
||||
def parseArgs(self, basedir=None):
|
||||
# This finds the node-directory option correctly even if we are in a subcommand.
|
||||
|
Loading…
Reference in New Issue
Block a user