From 952db3aa4d1fe889c524d1d70bde0479e638f53e Mon Sep 17 00:00:00 2001 From: Yang Yu Date: Thu, 1 Mar 2018 14:22:37 +0800 Subject: roll back the bug-fix for source method JIRA: BOTTLENECK-222 It seems the issue related to environments. Just roll back for further actions. Change-Id: I9578fb0c2a3aed2fe5b1c704c6baea2e56ca39a9 Signed-off-by: Yang Yu --- utils/env_prepare/stack_prepare.py | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/env_prepare/stack_prepare.py b/utils/env_prepare/stack_prepare.py index 640afa13..c1604f4d 100644 --- a/utils/env_prepare/stack_prepare.py +++ b/utils/env_prepare/stack_prepare.py @@ -84,7 +84,6 @@ def _source_file(rc_file): shell=True) output = p.communicate()[0] output_lines = output.splitlines() - del output_lines[5] env = dict((line.split('=', 1) for line in output_lines)) os.environ.update(env) return env -- cgit 1.2.3-korg