summaryrefslogtreecommitdiffstats
path: root/utils/env_prepare
diff options
context:
space:
mode:
authorYang Yu <Gabriel.yuyang@huawei.com>2018-03-01 14:22:37 +0800
committerYang Yu <Gabriel.yuyang@huawei.com>2018-03-01 14:22:37 +0800
commit952db3aa4d1fe889c524d1d70bde0479e638f53e (patch)
tree83dfc2535f45f687f5c0601a9df57713ec67ab2e /utils/env_prepare
parent06db2e37272bb3a030c2b5f2e255ec6a61f17472 (diff)
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 <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'utils/env_prepare')
-rw-r--r--utils/env_prepare/stack_prepare.py1
1 files changed, 0 insertions, 1 deletions
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