roll back the bug-fix for source method 11/52911/1
authorYang Yu <Gabriel.yuyang@huawei.com>
Thu, 1 Mar 2018 06:22:37 +0000 (14:22 +0800)
committerYang Yu <Gabriel.yuyang@huawei.com>
Thu, 1 Mar 2018 06:22:37 +0000 (14:22 +0800)
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>
utils/env_prepare/stack_prepare.py

index 640afa1..c1604f4 100644 (file)
@@ -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