From c13ecbec2952c5d6765397f645e90653a4fd9d05 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Mon, 16 Dec 2019 08:59:41 -0800 Subject: [PATCH] clean up parser info --- jc/parsers/arp.py | 1 - jc/parsers/df.py | 1 - jc/parsers/dig.py | 1 - jc/parsers/env.py | 1 - jc/parsers/foo.py | 2 +- jc/parsers/free.py | 1 - jc/parsers/fstab.py | 1 - jc/parsers/history.py | 1 - jc/parsers/hosts.py | 1 - jc/parsers/iptables.py | 1 - jc/parsers/jobs.py | 1 - jc/parsers/ls.py | 1 - jc/parsers/lsblk.py | 1 - jc/parsers/lsmod.py | 1 - jc/parsers/lsof.py | 1 - jc/parsers/mount.py | 1 - jc/parsers/netstat.py | 1 - jc/parsers/ps.py | 1 - jc/parsers/route.py | 1 - jc/parsers/ss.py | 1 - jc/parsers/stat.py | 2 +- jc/parsers/systemctl.py | 1 - jc/parsers/systemctl_lj.py | 1 - jc/parsers/systemctl_ls.py | 1 - jc/parsers/systemctl_luf.py | 1 - jc/parsers/uname.py | 1 - jc/parsers/uptime.py | 1 - jc/parsers/w.py | 1 - 28 files changed, 2 insertions(+), 28 deletions(-) diff --git a/jc/parsers/arp.py b/jc/parsers/arp.py index fd351ddc..b8320758 100644 --- a/jc/parsers/arp.py +++ b/jc/parsers/arp.py @@ -95,7 +95,6 @@ class info(): description = 'arp parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'aix', 'freebsd', 'darwin'] diff --git a/jc/parsers/df.py b/jc/parsers/df.py index d8bd70b6..e6a0e32d 100644 --- a/jc/parsers/df.py +++ b/jc/parsers/df.py @@ -77,7 +77,6 @@ class info(): description = 'df parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin'] diff --git a/jc/parsers/dig.py b/jc/parsers/dig.py index 7a772afb..4bd1c528 100644 --- a/jc/parsers/dig.py +++ b/jc/parsers/dig.py @@ -328,7 +328,6 @@ class info(): description = 'dig parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'aix', 'freebsd', 'darwin'] diff --git a/jc/parsers/env.py b/jc/parsers/env.py index f519168c..421acdd4 100644 --- a/jc/parsers/env.py +++ b/jc/parsers/env.py @@ -56,7 +56,6 @@ class info(): description = 'env parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] diff --git a/jc/parsers/foo.py b/jc/parsers/foo.py index e9550f30..44314ecf 100644 --- a/jc/parsers/foo.py +++ b/jc/parsers/foo.py @@ -24,7 +24,7 @@ class info(): description = 'foo parser' author = 'John Doe' author_email = 'johndoe@gmail.com' - details = None + # details = 'enter any other details here' # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] diff --git a/jc/parsers/free.py b/jc/parsers/free.py index f17f8b16..c29a96b1 100644 --- a/jc/parsers/free.py +++ b/jc/parsers/free.py @@ -57,7 +57,6 @@ class info(): description = 'free parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/fstab.py b/jc/parsers/fstab.py index d6f91e03..d8936e81 100644 --- a/jc/parsers/fstab.py +++ b/jc/parsers/fstab.py @@ -74,7 +74,6 @@ class info(): description = '/etc/fstab file parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/history.py b/jc/parsers/history.py index 39ab8fdb..b5aea12b 100644 --- a/jc/parsers/history.py +++ b/jc/parsers/history.py @@ -48,7 +48,6 @@ class info(): description = 'history parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] diff --git a/jc/parsers/hosts.py b/jc/parsers/hosts.py index fef781b3..3e5bc093 100644 --- a/jc/parsers/hosts.py +++ b/jc/parsers/hosts.py @@ -65,7 +65,6 @@ class info(): description = '/etc/hosts file parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] diff --git a/jc/parsers/iptables.py b/jc/parsers/iptables.py index 870cb24e..96e70a52 100644 --- a/jc/parsers/iptables.py +++ b/jc/parsers/iptables.py @@ -138,7 +138,6 @@ class info(): description = 'iptables parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/jobs.py b/jc/parsers/jobs.py index 311c91b4..2d16f777 100644 --- a/jc/parsers/jobs.py +++ b/jc/parsers/jobs.py @@ -81,7 +81,6 @@ class info(): description = 'jobs parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] diff --git a/jc/parsers/ls.py b/jc/parsers/ls.py index b1ee12ad..4190ce71 100644 --- a/jc/parsers/ls.py +++ b/jc/parsers/ls.py @@ -148,7 +148,6 @@ class info(): description = 'ls parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] diff --git a/jc/parsers/lsblk.py b/jc/parsers/lsblk.py index 89f2439d..17be124d 100644 --- a/jc/parsers/lsblk.py +++ b/jc/parsers/lsblk.py @@ -220,7 +220,6 @@ class info(): description = 'lsblk parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/lsmod.py b/jc/parsers/lsmod.py index 0a93f4f8..58340cde 100644 --- a/jc/parsers/lsmod.py +++ b/jc/parsers/lsmod.py @@ -111,7 +111,6 @@ class info(): description = 'lsmod parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/lsof.py b/jc/parsers/lsof.py index e71eb4d4..223a3a65 100644 --- a/jc/parsers/lsof.py +++ b/jc/parsers/lsof.py @@ -101,7 +101,6 @@ class info(): description = 'lsof parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/mount.py b/jc/parsers/mount.py index 1cf54348..d85675a0 100644 --- a/jc/parsers/mount.py +++ b/jc/parsers/mount.py @@ -60,7 +60,6 @@ class info(): description = 'mount parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin'] diff --git a/jc/parsers/netstat.py b/jc/parsers/netstat.py index 8e6bcf4f..b3f0e3b6 100644 --- a/jc/parsers/netstat.py +++ b/jc/parsers/netstat.py @@ -317,7 +317,6 @@ class info(): description = 'netstat parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/ps.py b/jc/parsers/ps.py index 15006079..87f385ac 100644 --- a/jc/parsers/ps.py +++ b/jc/parsers/ps.py @@ -181,7 +181,6 @@ class info(): description = 'ps parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] diff --git a/jc/parsers/route.py b/jc/parsers/route.py index 01ef07dc..a5c9ca82 100644 --- a/jc/parsers/route.py +++ b/jc/parsers/route.py @@ -105,7 +105,6 @@ class info(): description = 'route parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/ss.py b/jc/parsers/ss.py index 33e8c147..e3259959 100644 --- a/jc/parsers/ss.py +++ b/jc/parsers/ss.py @@ -255,7 +255,6 @@ class info(): description = 'ss parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/stat.py b/jc/parsers/stat.py index c4e83931..6a002e59 100644 --- a/jc/parsers/stat.py +++ b/jc/parsers/stat.py @@ -102,12 +102,12 @@ Examples: """ import jc.utils + class info(): version = '1.0' description = 'stat parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/systemctl.py b/jc/parsers/systemctl.py index bbed896f..6e147c4e 100644 --- a/jc/parsers/systemctl.py +++ b/jc/parsers/systemctl.py @@ -44,7 +44,6 @@ class info(): description = 'systemctl parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/systemctl_lj.py b/jc/parsers/systemctl_lj.py index c2d6ea2a..d0239b0d 100644 --- a/jc/parsers/systemctl_lj.py +++ b/jc/parsers/systemctl_lj.py @@ -63,7 +63,6 @@ class info(): description = 'systemctl list-jobs parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/systemctl_ls.py b/jc/parsers/systemctl_ls.py index ddc34945..bdcf3d7a 100644 --- a/jc/parsers/systemctl_ls.py +++ b/jc/parsers/systemctl_ls.py @@ -38,7 +38,6 @@ class info(): description = 'systemctl list-sockets parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/systemctl_luf.py b/jc/parsers/systemctl_luf.py index 889078d1..3b9b2da6 100644 --- a/jc/parsers/systemctl_luf.py +++ b/jc/parsers/systemctl_luf.py @@ -35,7 +35,6 @@ class info(): description = 'systemctl list-unit-files parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/uname.py b/jc/parsers/uname.py index c6670dba..1132da08 100644 --- a/jc/parsers/uname.py +++ b/jc/parsers/uname.py @@ -34,7 +34,6 @@ class info(): description = 'uname -a parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/uptime.py b/jc/parsers/uptime.py index 6eb41e95..331c1fc3 100644 --- a/jc/parsers/uptime.py +++ b/jc/parsers/uptime.py @@ -38,7 +38,6 @@ class info(): description = 'uptime parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] diff --git a/jc/parsers/w.py b/jc/parsers/w.py index 03ca18cb..47933319 100644 --- a/jc/parsers/w.py +++ b/jc/parsers/w.py @@ -87,7 +87,6 @@ class info(): description = 'w parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' - details = None # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']