Merge "Fixes string formatting of the error msg log"
This commit is contained in:
commit
18862912b3
|
@ -51,8 +51,12 @@ def create_artifacts_dir(dir_path=None, prefix=None):
|
||||||
os.makedirs(log_dir)
|
os.makedirs(log_dir)
|
||||||
return validation_uuid, log_dir
|
return validation_uuid, log_dir
|
||||||
except OSError:
|
except OSError:
|
||||||
LOG.exception("Error while creating Ansible artifacts log file."
|
LOG.exception(
|
||||||
"Please check the access rights for {}").format(log_dir)
|
(
|
||||||
|
"Error while creating Ansible artifacts log file."
|
||||||
|
"Please check the access rights for {}"
|
||||||
|
).format(log_dir)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def parse_all_validations_on_disk(path, groups=None):
|
def parse_all_validations_on_disk(path, groups=None):
|
||||||
|
|
Loading…
Reference in New Issue