From 816235a0720f4463b46f4ca2fafb8e9601edd5fa Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 13 Feb 2018 08:12:46 +0100 Subject: Remove obsolote env var IS_CI_RUN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I284e0ec97792620db08005a617f584b81a1eae63 Signed-off-by: Cédric Ollivier --- functest/utils/env.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'functest/utils/env.py') diff --git a/functest/utils/env.py b/functest/utils/env.py index aaa5beac..110164be 100644 --- a/functest/utils/env.py +++ b/functest/utils/env.py @@ -32,16 +32,9 @@ class Environment(object): # pylint: disable=too-few-public-methods for key, value in six.iteritems(self.default_envs): if key not in os.environ: setattr(self, key, value) - self._set_ci_run() if 'CI_LOOP' not in os.environ: self._set_ci_loop() - def _set_ci_run(self): - if getattr(self, "BUILD_TAG"): - setattr(self, "IS_CI_RUN", True) - else: - setattr(self, "IS_CI_RUN", False) - def _set_ci_loop(self): if (getattr(self, "BUILD_TAG") and re.search("daily", getattr(self, "BUILD_TAG"))): -- cgit 1.2.3-korg