Fix pep8 for command line client
@@ -373,7 +373,6 @@ def handle_list_result_types(args):
run_id, run_date = run_info
results = client.getRunResultTypes(run_id, filters)
-
if args.output_format == 'json':
results_collector.append({name: results})
else: # plaintext, csv
@@ -394,6 +393,7 @@ def handle_list_result_types(args):
if args.output_format == 'json':
print(CmdLineOutputEncoder().encode(results_collector))
+
# ------------------------------------------------------------
def handle_remove_run_results(args):
client = setupClient(args.host, args.port, '/')
@@ -432,7 +432,6 @@ def handle_diff_results(args):
results = getterFn(baseid, newid, limit, offset, sort_type,
report_filter)
-
if output_format == 'json':
print(CmdLineOutputEncoder().encode(all_results))
else:
