From be181843f2517de647f9dc1b9188b69186051aa6 Mon Sep 17 00:00:00 2001 From: "Lovett, Trevor" Date: Thu, 19 Sep 2019 16:37:29 -0500 Subject: [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 --- ice_validator/preload/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ice_validator/preload') 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 = {} -- cgit 1.2.3-korg