From b0cf2e2d78f048c40e7c46b48269c6ff1da64c1a Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Mon, 23 Oct 2023 17:37:53 -0700 Subject: [PATCH] clean up final return --- jc/parsers/who.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/jc/parsers/who.py b/jc/parsers/who.py index f459dab0..6c8cc784 100644 --- a/jc/parsers/who.py +++ b/jc/parsers/who.py @@ -303,7 +303,4 @@ def parse(data, raw=False, quiet=False): raw_output.append(output_line) - if raw: - return raw_output - else: - return _process(raw_output) + return raw_output if raw else _process(raw_output)