Skip to content

Commit

Permalink
AddonManager: Avoid dictionary.keys() where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-043 authored and chennes committed Aug 12, 2023
1 parent 2ee7a92 commit 2f534de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/AddonManager/addonmanager_devmode_add_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def _populate_external_addons(self):
# display name, but keeping track of their official name as well (stored in the UserRole)
for repo in AM_INSTANCE.item_model.repos:
repo_dict[repo.display_name.lower()] = (repo.display_name, repo.name)
sorted_keys = sorted(repo_dict.keys())
sorted_keys = sorted(repo_dict)
for item in sorted_keys:
self.dialog.dependencyComboBox.addItem(
repo_dict[item][0], repo_dict[item][1]
Expand Down

0 comments on commit 2f534de

Please sign in to comment.