mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-09 01:05:53 +02:00
back out slurp array flattening code
This commit is contained in:
@ -722,11 +722,7 @@ class JcCli():
|
|||||||
quiet=self.quiet
|
quiet=self.quiet
|
||||||
)
|
)
|
||||||
|
|
||||||
# keep output as flat as possible (no list of lists)
|
|
||||||
if isinstance(parsed_line, dict):
|
|
||||||
self.data_out.append(parsed_line)
|
self.data_out.append(parsed_line)
|
||||||
else:
|
|
||||||
self.data_out.extend(parsed_line)
|
|
||||||
|
|
||||||
if self.meta_out:
|
if self.meta_out:
|
||||||
self.run_timestamp = datetime.now(timezone.utc)
|
self.run_timestamp = datetime.now(timezone.utc)
|
||||||
|
Reference in New Issue
Block a user