From 4a3a4e10df8a552a4db3510640695f02b166dc40 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 18 Mar 2022 13:03:43 -0700 Subject: [PATCH] add asciitable and asciitable-m parsers --- jc/lib.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jc/lib.py b/jc/lib.py index ce7aa017..bc6754bd 100644 --- a/jc/lib.py +++ b/jc/lib.py @@ -1,6 +1,4 @@ -"""jc - JSON Convert -JC lib module -""" +"""jc - JSON Convert lib module""" import sys import os import re @@ -15,6 +13,8 @@ parsers = [ 'airport', 'airport-s', 'arp', + 'asciitable', + 'asciitable-m', 'blkid', 'cksum', 'crontab', @@ -280,7 +280,6 @@ def parser_info(parser_mod_name: str, documentation: bool = False) -> Dict: """ # ensure parser_mod_name is a true module name and not a cli name parser_mod_name = _cliname_to_modname(parser_mod_name) - parser_mod = _get_parser(parser_mod_name) info_dict: Dict = {}