Skip to content

Commit fb10b4e

Browse files
author
MohamedElgammal
committed
Fix formatting
1 parent ad22ecb commit fb10b4e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

vtr_flow/scripts/run_vtr_task.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ def vtr_command_main(arg_list, prog=None):
225225

226226
config_files = [find_task_config_file(task_name) for task_name in task_names]
227227
configs = []
228-
longest_name = 0 # longest task name for use in creating prettier output
229228
common_task_prefix = None # common task prefix to shorten task names
230229
for config_file in config_files:
231230
config = load_task_config(config_file)
@@ -241,10 +240,7 @@ def vtr_command_main(arg_list, prog=None):
241240
longest_name = len(config.task_name)
242241
if args.short_task_names:
243242
configs = shorten_task_names(configs, common_task_prefix)
244-
longest_arch_circuit = find_longest_task_description(
245-
configs
246-
) # find longest task description for use in creating prettier output
247-
num_failed = run_tasks(args, configs, longest_name, longest_arch_circuit)
243+
num_failed = run_tasks(args, configs)
248244

249245
except CommandError as exception:
250246
print("Error: {msg}".format(msg=exception.msg))
@@ -265,8 +261,6 @@ def vtr_command_main(arg_list, prog=None):
265261
def run_tasks(
266262
args,
267263
configs,
268-
longest_name,
269-
longest_arch_circuit,
270264
):
271265
"""
272266
Runs the specified set of tasks (configs)

0 commit comments

Comments
 (0)