lfcli_base.py : updated logger.debug to print out the license block.

logger.debug takes a single string removed the string addition.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2022-03-29 08:30:00 -06:00
committed by shivam
parent 97f43a7035
commit 7618d9d139

View File

@@ -421,7 +421,7 @@ class LFCliBase:
if ("license" in lic_json) and lic_json["license"]:
lic_block = lic_json["license"].replace("\\n|\\r|\r|\n", "____")
lic_block = lic_block.replace("____+", "\n")
logger.debug("\nlicense contents found:\n"+ lic_block)
logger.debug("\nlicense contents found:\n{lic_block}".format(lic_block=lic_block))
lic_list = lic_block.split("\n")
for line in lic_list: