diff --git a/jc/parsers/findmnt.py b/jc/parsers/findmnt.py index 3b32344a..699e7b38 100644 --- a/jc/parsers/findmnt.py +++ b/jc/parsers/findmnt.py @@ -140,7 +140,7 @@ def _process(proc_data: List[JSONDictType]) -> List[JSONDictType]: return proc_data -def _replace(matchobj: re.Match) -> str: +def _replace(matchobj): if matchobj: matchlen = len(matchobj.group(1)) return ' ' * matchlen + '/'