mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 22:07:51 +00:00
Fix lint.
This commit is contained in:
parent
06dc32a6c0
commit
ee75bcd26b
@ -117,7 +117,7 @@ def boolean_of_arg(arg): # type: (bytes) -> bool
|
||||
return arg.lower() in (b"true", b"t", b"1", b"on")
|
||||
|
||||
|
||||
def parse_replace_arg(replace): # type: (bytes) -> Union[bool,_OnlyFiles]
|
||||
def parse_replace_arg(replace: bytes) -> Union[bool,_OnlyFiles]:
|
||||
assert isinstance(replace, bytes)
|
||||
if replace.lower() == b"only-files":
|
||||
return ONLY_FILES
|
||||
|
Loading…
Reference in New Issue
Block a user