Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pipenv/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,9 +1114,8 @@ def get_package_name_in_pipfile(self, package_name, category):
def _sort_category(self, category):
# toml tables won't maintain sorted dictionary order
# so construct the table in the order that we need
sorted_category = dict(sorted(category.items()))
table = tomlkit.table()
for key, value in sorted_category.items():
for key, value in sorted(category.items()):
table.add(key, value)

return table
Expand Down