8000 Merge pull request #1363 from stonebig/master · Nizhal/winpython@40540bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 40540bc

Browse files
authored
Merge pull request winpython#1363 from stonebig/master
bugfix
2 parents ff7f791 + f4b5e31 commit 40540bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winpython/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ def formatted_list(list_of_list, full=False, max_width=70):
864864

865865
def normalize(this):
866866
"""apply https://peps.python.org/pep-0503/#normalized-names"""
867-
return re.sub(r"[-_.]+", "-", name).lower()
867+
return re.sub(r"[-_.]+", "-", this).lower()
868868

869869
def get_package_metadata(database, name, update=False, suggested_summary=None):
870870
"""Extract infos (description, url) from the local database"""

0 commit comments

Comments
 (0)
0