1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 19:32:34 +01:00

wa/commands: pep8 fixes

This commit is contained in:
Marc Bonnici
2018-07-03 14:30:04 +01:00
parent 6afd710bd1
commit c6ec7af665
5 changed files with 17 additions and 11 deletions

View File

@@ -91,7 +91,7 @@ class RunCommand(Command):
description='Run log.')
disabled_augmentations = toggle_set([i != '~~' and "~{}".format(i) or i
for i in args.augmentations_to_disable])
for i in args.augmentations_to_disable])
config.jobs_config.disable_augmentations(disabled_augmentations)
config.jobs_config.only_run_ids(args.only_run_ids)
@@ -122,7 +122,7 @@ class RunCommand(Command):
try:
return init_run_output(output_directory, config, args.force)
except RuntimeError as e:
if 'path exists' in str(e):
if 'path exists' in str(e):
msg = 'Output directory "{}" exists.\nPlease specify another '\
'location, or use -f option to overwrite.'
self.logger.critical(msg.format(output_directory))