summaryrefslogtreecommitdiff
path: root/selftest/target/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/target/__init__.py')
-rw-r--r--selftest/target/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/selftest/target/__init__.py b/selftest/target/__init__.py
index ac2cc19a48..72e0770d92 100644
--- a/selftest/target/__init__.py
+++ b/selftest/target/__init__.py
@@ -128,11 +128,10 @@ class EnvironmentManager(object):
raise EnvironmentDown(running_env.get_log())
return running_env
-
env = self.target.setup_env(envname, prefix)
if env is None:
return None
- self.running_envs[env] = env
+ self.running_envs[envname] = env
return env