removed unused and useless 'comments' in sort_dict()

This commit is contained in:
Cyrille L 2024-02-09 16:44:32 +01:00
parent 177b8e6b3a
commit 6cb19e6879
1 changed files with 1 additions and 16 deletions

View File

@ -215,25 +215,10 @@ def copy_template_dir(process):
# Return new sorted dict # # Return new sorted dict #
#----------------------------------------------------# #----------------------------------------------------#
def sort_dict(d): def sort_dict(d):
set_dict = {}
sorted_items = sorted(d.values(), key=lambda x: (x[0], d), reverse=True) sorted_items = sorted(d.values(), key=lambda x: (x[0], d), reverse=True)
"""
print(sorted_items)
for item in sorted_items:
print(item)
"""
"""
for nbr in d:
set_dict[d[nbr][0]] = d[nbr]
list_dict = list(set_dict)
return(set_dict, sorted(list_dict, reverse=True))
"""
return sorted_items return sorted_items
#============================# #============================#
# With "all" in command line # # With "all" in command line #
# Search for all .tyto files # # Search for all .tyto files #