From 2f80800e38256b363a4122195ec4aaffebe67d87 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Tue, 1 Feb 2022 19:06:41 -0800 Subject: [PATCH] simplify all_parser_info comprehension --- jc/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/lib.py b/jc/lib.py index 5fb8d681..3e0310ff 100644 --- a/jc/lib.py +++ b/jc/lib.py @@ -256,7 +256,7 @@ def all_parser_info() -> List[Dict]: """ Returns a list of dictionaries that includes metadata for all modules. """ - return [parser_info(_cliname_to_modname(p)) for p in parsers] + return [parser_info(p) for p in parsers] def get_help(parser_mod_name: str) -> None: """