mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-03 03:36:44 +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")
|
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)
|
assert isinstance(replace, bytes)
|
||||||
if replace.lower() == b"only-files":
|
if replace.lower() == b"only-files":
|
||||||
return ONLY_FILES
|
return ONLY_FILES
|
||||||
|
Loading…
Reference in New Issue
Block a user