mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +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
|
from os.path import join
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from typing import Optional, Sequence, List
|
from typing import Optional, Sequence, List, Any
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ class BasedirOptions(BaseOptions):
|
|||||||
optParameters = [
|
optParameters = [
|
||||||
["basedir", "C", None, "Specify which Tahoe base directory should be used. [default: %s]"
|
["basedir", "C", None, "Specify which Tahoe base directory should be used. [default: %s]"
|
||||||
% quote_local_unicode_path(_default_nodedir)],
|
% quote_local_unicode_path(_default_nodedir)],
|
||||||
] # type: List[Sequence[Optional[str]]]
|
] # type: List[Sequence[Any]]
|
||||||
|
|
||||||
def parseArgs(self, basedir=None):
|
def parseArgs(self, basedir=None):
|
||||||
# This finds the node-directory option correctly even if we are in a subcommand.
|
# This finds the node-directory option correctly even if we are in a subcommand.
|
||||||
|
Loading…
Reference in New Issue
Block a user