mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2026-04-03 17:44:07 +02:00
pep8 fixes
This commit is contained in:
@@ -55,7 +55,7 @@ def process(proc_data):
|
||||
Final processing to conform to the schema.
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
proc_data: (dictionary) raw structured data to process
|
||||
|
||||
Returns:
|
||||
@@ -82,7 +82,7 @@ def parse(data, raw=False, quiet=False):
|
||||
Main text parsing function
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
data: (string) text data to parse
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
quiet: (boolean) suppress warning messages if True
|
||||
@@ -91,7 +91,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
dictionary raw or processed structured data
|
||||
"""
|
||||
|
||||
|
||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||
compatible = ['linux']
|
||||
|
||||
|
||||
@@ -312,13 +312,13 @@ def process(proc_data):
|
||||
Final processing to conform to the schema.
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
proc_data: (dictionary) raw structured data to process
|
||||
|
||||
Returns:
|
||||
|
||||
dictionary structured data with the following schema:
|
||||
|
||||
|
||||
[
|
||||
{
|
||||
"proto": string,
|
||||
@@ -499,7 +499,7 @@ def parse(data, raw=False, quiet=False):
|
||||
Main text parsing function
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
data: (string) text data to parse
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
quiet: (boolean) suppress warning messages if True
|
||||
@@ -508,7 +508,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
dictionary raw or processed structured data
|
||||
"""
|
||||
|
||||
|
||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||
compatible = ['linux']
|
||||
|
||||
|
||||
@@ -175,13 +175,13 @@ def process(proc_data):
|
||||
Final processing to conform to the schema.
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
proc_data: (dictionary) raw structured data to process
|
||||
|
||||
Returns:
|
||||
|
||||
dictionary structured data with the following schema:
|
||||
|
||||
|
||||
[
|
||||
{
|
||||
"uid": string,
|
||||
@@ -236,7 +236,7 @@ def parse(data, raw=False, quiet=False):
|
||||
Main text parsing function
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
data: (string) text data to parse
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
quiet: (boolean) suppress warning messages if True
|
||||
@@ -245,7 +245,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
dictionary raw or processed structured data
|
||||
"""
|
||||
|
||||
|
||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
|
||||
|
||||
|
||||
@@ -99,13 +99,13 @@ def process(proc_data):
|
||||
Final processing to conform to the schema.
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
proc_data: (dictionary) raw structured data to process
|
||||
|
||||
Returns:
|
||||
|
||||
dictionary structured data with the following schema:
|
||||
|
||||
|
||||
[
|
||||
{
|
||||
"destination": string,
|
||||
@@ -140,7 +140,7 @@ def parse(data, raw=False, quiet=False):
|
||||
Main text parsing function
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
data: (string) text data to parse
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
quiet: (boolean) suppress warning messages if True
|
||||
@@ -149,7 +149,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
dictionary raw or processed structured data
|
||||
"""
|
||||
|
||||
|
||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||
compatible = ['linux', 'aix', 'freebsd']
|
||||
|
||||
|
||||
@@ -28,13 +28,13 @@ def process(proc_data):
|
||||
Final processing to conform to the schema.
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
proc_data: (dictionary) raw structured data to process
|
||||
|
||||
Returns:
|
||||
|
||||
dictionary structured data with the following schema:
|
||||
|
||||
|
||||
{
|
||||
"kernel_name": string,
|
||||
"node_name": string,
|
||||
@@ -55,7 +55,7 @@ def parse(data, raw=False, quiet=False):
|
||||
Main text parsing function
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
data: (string) text data to parse
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
quiet: (boolean) suppress warning messages if True
|
||||
@@ -64,7 +64,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
dictionary raw or processed structured data
|
||||
"""
|
||||
|
||||
|
||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||
compatible = ['linux']
|
||||
|
||||
|
||||
@@ -33,13 +33,13 @@ def process(proc_data):
|
||||
Final processing to conform to the schema.
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
proc_data: (dictionary) raw structured data to process
|
||||
|
||||
Returns:
|
||||
|
||||
dictionary structured data with the following schema:
|
||||
|
||||
|
||||
{
|
||||
"time": string,
|
||||
"uptime": string,
|
||||
@@ -75,7 +75,7 @@ def parse(data, raw=False, quiet=False):
|
||||
Main text parsing function
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
data: (string) text data to parse
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
quiet: (boolean) suppress warning messages if True
|
||||
@@ -84,7 +84,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
dictionary raw or processed structured data
|
||||
"""
|
||||
|
||||
|
||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
|
||||
|
||||
|
||||
@@ -82,13 +82,13 @@ def process(proc_data):
|
||||
Final processing to conform to the schema.
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
proc_data: (dictionary) raw structured data to process
|
||||
|
||||
Returns:
|
||||
|
||||
dictionary structured data with the following schema:
|
||||
|
||||
|
||||
[
|
||||
{
|
||||
"user": string, # '-'' = null
|
||||
@@ -117,7 +117,7 @@ def parse(data, raw=False, quiet=False):
|
||||
Main text parsing function
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
data: (string) text data to parse
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
quiet: (boolean) suppress warning messages if True
|
||||
@@ -126,7 +126,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
dictionary raw or processed structured data
|
||||
"""
|
||||
|
||||
|
||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user