mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-07 00:57:22 +02:00
more explanations
This commit is contained in:
@ -109,10 +109,9 @@ def parse(
|
|||||||
# check if string
|
# check if string
|
||||||
jc.utils.input_type_check(data)
|
jc.utils.input_type_check(data)
|
||||||
|
|
||||||
# split the output lines \r\n or \n
|
# starts the parsing from here
|
||||||
# raw_output = []
|
|
||||||
# lines: list = list(filter(None, data.splitlines())) # lines=cleandata
|
|
||||||
mapping = {}
|
mapping = {}
|
||||||
|
# split lines and than work on each line
|
||||||
lines = data.splitlines()
|
lines = data.splitlines()
|
||||||
first_line = lines[0].strip()
|
first_line = lines[0].strip()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user