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