aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/preload
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2019-09-19 16:37:29 -0500
committerLovett, Trevor (tl2972) <tl2972@att.com>2019-09-19 16:37:53 -0500
commitbe181843f2517de647f9dc1b9188b69186051aa6 (patch)
tree5c67fe85bb2ff4b8b62a99351ef05204fd61a0f7 /ice_validator/preload
parentff44cf54a9661597443f4f0a9ae9c5328aa4f22e (diff)
[VVP] Removed additional f-string for build-upload issue
Also made heat req't json and req't mapping optional in checks.py Change-Id: I38367e768de704cca3727bccb8f8bcdb04f9b193 Issue-ID: VVP-311 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/preload')
-rw-r--r--ice_validator/preload/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice_validator/preload/environment.py b/ice_validator/preload/environment.py
index 4851fcb..083be9b 100644
--- a/ice_validator/preload/environment.py
+++ b/ice_validator/preload/environment.py
@@ -225,7 +225,7 @@ class PreloadEnvironment:
return [e for e in all_envs if e.is_leaf]
def get_module(self, name):
- name = name if name.lower().endswith(".env") else f"{name}.env".lower()
+ name = name if name.lower().endswith(".env") else "{}.env".format(name).lower()
if name not in self.module_names:
return {}
result = {}