Browse Source

Merge "Fixes string formatting of the error msg log"

changes/60/784960/1
Zuul 4 weeks ago
committed by Gerrit Code Review
parent
commit
18862912b3
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      validations_libs/utils.py

+ 6
- 2
validations_libs/utils.py View File

@ -51,8 +51,12 @@ def create_artifacts_dir(dir_path=None, prefix=None):
os.makedirs(log_dir)
return validation_uuid, log_dir
except OSError:
LOG.exception("Error while creating Ansible artifacts log file."
"Please check the access rights for {}").format(log_dir)
LOG.exception(
(
"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):


Loading…
Cancel
Save