diff options
author | Marty E. Plummer <hanetzer@startmail.com> | 2019-05-10 02:39:41 -0500 |
---|---|---|
committer | RAJA DAS <rajadas2@in.ibm.com> | 2020-01-09 23:09:57 -0600 |
commit | 2615d39b099f344928c8ad03332e69ee6d5068ce (patch) | |
tree | 80ce0d36a29b9edd07c9c47eaf023e6ad5f952fd /src/hwpf/target.C | |
parent | e7dccb090786794b44213d3add032e484777726d (diff) | |
download | talos-sbe-2615d39b099f344928c8ad03332e69ee6d5068ce.tar.gz talos-sbe-2615d39b099f344928c8ad03332e69ee6d5068ce.zip |
parsAndCutElf: convert line to str
Without this change, building with python3.x (python3.5 tested) as
/usr/bin/python will result in the following error:
Traceback (most recent call last):
File "./parsAndCutElf.py", line 79, in <module>
parserElf(sys.argv)
File "./parsAndCutElf.py", line 54, in parserElf
if( (line.find(firstSection) != -1) ):
TypeError: a bytes-like object is required, not 'str'
Change-Id: I0220d0457371349d0a77ac042484fd03f8a984da
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/89385
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Srikantha S. Meesala <srikantha@in.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Diffstat (limited to 'src/hwpf/target.C')
0 files changed, 0 insertions, 0 deletions