Skip to content

Commit ad86767

Browse files
committed
fix pylint error
1 parent d5eb7fb commit ad86767

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

datapath/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def is_path(path: str, iterable: bool = True) -> bool:
5454
return bool(match)
5555
else:
5656
try:
57-
_split_match(match)
57+
_split_match(match, iterable=False)
5858
return True
5959
except ValidationError:
6060
return False
@@ -70,7 +70,7 @@ def validate_path(path: str, iterable: bool = True) -> None:
7070
return
7171
match = _match_validate(path)
7272
if not iterable:
73-
_split_match(match)
73+
_split_match(match, iterable=False)
7474

7575

7676
def _parse_range(range_part: str) -> range:

0 commit comments

Comments
 (0)