mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
remove print debug
This commit is contained in:
@ -114,9 +114,6 @@ def parse(data, raw=False, quiet=False):
|
|||||||
# otherwise use linux parser
|
# otherwise use linux parser
|
||||||
else:
|
else:
|
||||||
# fixup for cases where the 'processor' and/or 'machine' fields are blank
|
# fixup for cases where the 'processor' and/or 'machine' fields are blank
|
||||||
# Linux soya.ita.chalmers.se 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
|
|
||||||
# Linux soya.ita.chalmers.se 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 x86_64 GNU/Linux
|
|
||||||
# Linux soya.ita.chalmers.se 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 x86_64 x86_64 GNU/Linux
|
|
||||||
fixup_count = 0
|
fixup_count = 0
|
||||||
fixup = data.split()
|
fixup = data.split()
|
||||||
cleanup = True
|
cleanup = True
|
||||||
@ -134,8 +131,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
fixup.insert(-2, 'unknown')
|
fixup.insert(-2, 'unknown')
|
||||||
|
|
||||||
data = ' '.join(fixup)
|
data = ' '.join(fixup)
|
||||||
print(data)
|
# end fixup
|
||||||
|
|
||||||
|
|
||||||
parsed_line = data.split(maxsplit=3)
|
parsed_line = data.split(maxsplit=3)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user