Plette compatability change.

This commit is contained in:
Matt Davis
2022-09-20 21:24:06 -04:00
parent 4383328d82
commit 1e3e1099fc
+3 -1
View File
@@ -557,7 +557,9 @@ class Project:
lock_section = lockfile.get(section, {})
for key in list(lock_section.keys()):
norm_key = pep423_name(key)
lockfile[section][norm_key] = lock_section.pop(key)
specifier = lock_section[key]
del lock_section[key]
lockfile[section][norm_key] = specifier
return lockfile._data