There was an error while loading. Please reload this page.
1 parent f3a5919 commit c777740Copy full SHA for c777740
1 file changed
tmt/guest/__init__.py
@@ -1939,7 +1939,8 @@ def plan_environment(self) -> Environment:
1939
def intrinsic_environment(self) -> Environment:
1940
environment = Environment()
1941
1942
- environment['TMT_PLAN_ENVIRONMENT_FILE'] = EnvVarValue(self.plan_environment_path)
+ if self.plan_environment_path is not None:
1943
+ environment['TMT_PLAN_ENVIRONMENT_FILE'] = EnvVarValue(self.plan_environment_path)
1944
1945
return environment
1946
0 commit comments