diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-02-13 10:23:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-02-13 10:23:32 +0000 |
commit | 5ac93af8e3d7c261e75b946474652df4e5b8ecaf (patch) | |
tree | 0da5fb492f3c5a70fd6652dbbbbbb58f53794d1e | |
parent | fd16007ccfb7052c3cbab82e6184be277320b83a (diff) | |
parent | 816235a0720f4463b46f4ca2fafb8e9601edd5fa (diff) |
Merge "Remove obsolote env var IS_CI_RUN"
-rw-r--r-- | functest/utils/env.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/functest/utils/env.py b/functest/utils/env.py index aaa5beacc..110164bee 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"))): |