There was an error while loading. Please reload this page.
1 parent fbedc73 commit 7676aa4Copy full SHA for 7676aa4
1 file changed
tmt/guest/__init__.py
@@ -1989,7 +1989,8 @@ def plan_environment(self) -> Environment:
1989
def intrinsic_environment(self) -> Environment:
1990
environment = Environment()
1991
1992
- environment['TMT_PLAN_ENVIRONMENT_FILE'] = EnvVarValue(self.plan_environment_path)
+ if self.plan_environment_path is not None:
1993
+ environment['TMT_PLAN_ENVIRONMENT_FILE'] = EnvVarValue(self.plan_environment_path)
1994
1995
return environment
1996
0 commit comments