Literal substituted with DEFAULT_VALIDATIONS_BASEDIR

The existing constant evaluates to the prefix of another constant.
No need to keep them separate.

Arguably, the risk of someone changing one of the constants,
without the other, is already minimal. But it's better to be
extra sure.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ic5d7bf8e440a44105bf00866ca92a085a0826500
This commit is contained in:
Jiri Podivin 2021-06-17 08:23:04 +02:00
parent 4d1df7b0e7
commit 9c19f7d221
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ import os
DEFAULT_VALIDATIONS_BASEDIR = '/usr/share/ansible'
ANSIBLE_VALIDATION_DIR = '/usr/share/ansible/validation-playbooks'
ANSIBLE_VALIDATION_DIR = os.path.join(
DEFAULT_VALIDATIONS_BASEDIR,
'validation-playbooks')
VALIDATION_GROUPS_INFO = os.path.join(
DEFAULT_VALIDATIONS_BASEDIR,