lf_check.py : removed \n from the scripts git sha

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-11-23 14:02:42 -07:00
parent 648491247a
commit 19752da2eb

View File

@@ -250,6 +250,7 @@ class lf_check():
"get_scripts_get_sha exit_code: {exit_code}".format(
exit_code=exit_code))
scripts_git_sha = commit_hash.decode('utf-8', 'ignore')
scripts_git_sha = scripts_git_sha.replace('\n','')
return scripts_git_sha
'''