mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-25 22:44:55 +00:00
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:
committed by
shivam
parent
97f43a7035
commit
7618d9d139
@@ -421,7 +421,7 @@ class LFCliBase:
|
|||||||
if ("license" in lic_json) and lic_json["license"]:
|
if ("license" in lic_json) and lic_json["license"]:
|
||||||
lic_block = lic_json["license"].replace("\\n|\\r|\r|\n", "____")
|
lic_block = lic_json["license"].replace("\\n|\\r|\r|\n", "____")
|
||||||
lic_block = lic_block.replace("____+", "\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")
|
lic_list = lic_block.split("\n")
|
||||||
|
|
||||||
for line in lic_list:
|
for line in lic_list:
|
||||||
|
|||||||
Reference in New Issue
Block a user