1
0
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:
Kelly Brazil
2021-10-19 16:05:10 -07:00
parent 7cd01efa64
commit deff0c7bfd

View File

@ -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)