From f6ee30be20f12e312c2e66be0855ac812052ca89 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Mon, 31 Oct 2022 17:30:51 -0700 Subject: [PATCH] formatting --- jc/parsers/findmnt.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/jc/parsers/findmnt.py b/jc/parsers/findmnt.py index eb8ff804..46ccde15 100644 --- a/jc/parsers/findmnt.py +++ b/jc/parsers/findmnt.py @@ -121,10 +121,7 @@ def parse( if jc.utils.has_data(data): - - for line in filter(None, data.splitlines()): - # remove initial drawing characters line = re.sub(r'^([│ ├─└─|`-]+)/', _replace, line, count=1) table.append(line)