mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
use list extend method to simplify code
This commit is contained in:
@ -589,8 +589,7 @@ def parse(data, raw=False, quiet=False):
|
||||
continue
|
||||
|
||||
for item in [network_list, socket_list]:
|
||||
for entry in item:
|
||||
raw_output.append(entry)
|
||||
raw_output.extend(item)
|
||||
|
||||
raw_output = parse_post(raw_output)
|
||||
|
||||
|
Reference in New Issue
Block a user