Removed non-ascii characters from script output

This commit is contained in:
vdutta 2021-10-12 11:02:23 +05:30
parent 9842552d42
commit 8dcd8b687f
3 changed files with 8 additions and 9 deletions

View file

@ -391,9 +391,9 @@ def generate_supported_dm(vendor_prefix=None, vendor_list=None, plugins=None):
if os.path.isdir(".repo"):
if version is None:
print('├── Processing ' + repo)
print(' - Processing ' + repo)
else:
print('├── Processing ' + repo + '^' + version)
print(' - Processing ' + repo + '^' + version)
dm_files = get_option_value(plugin, "dm_files")
if dm_files is not None and isinstance(dm_files, list):
@ -414,7 +414,6 @@ def generate_supported_dm(vendor_prefix=None, vendor_list=None, plugins=None):
generate_dynamic_json_datamodel_tree(file)
remove_folder(".repo")
print('└── Processing of plugins done')
############## Remove Duplicated Element from List ##############
global LIST_SUPPORTED_DM

View file

@ -183,9 +183,9 @@ def generate_excel(dm_name_list, output_file="datamodel.xml"):
generate_excel_file(output_file)
if os.path.isfile(output_file):
print("└── Excel file generated: %s" % output_file)
print(" - Excel file generated: %s" % output_file)
else:
print("└── Error in excel file generation %s" % output_file)
print(" - Error in excel file generation %s" % output_file)
### main ###

View file

@ -198,12 +198,12 @@ def generate_xml(acs = 'default', output_file="datamodel.xml"):
generate_bbf_xml_file(output_file)
if os.path.isfile(output_file):
print("├── XML file generated: %s" % output_file)
print(" - XML file generated: %s" % output_file)
else:
print("├── Error in generating xml file")
print(" - Error in generating xml file")
print("├── Number of BBF Data Models objects is %d" % DM_OBJ_COUNT)
print("└── Number of BBF Data Models parameters is %d" % DM_PARAM_COUNT)
print(" - Number of BBF Data Models objects is %d" % DM_OBJ_COUNT)
print(" - Number of BBF Data Models parameters is %d" % DM_PARAM_COUNT)
### main ###
if __name__ == '__main__':