mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Simplify code
CURA-5035
This commit is contained in:
parent
5cc5f32a73
commit
09af97634d
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class CuraPackageManager(QObject):
|
||||||
installed_package_id_set = set(self._installed_package_dict.keys()) | set(self._to_install_package_dict.keys())
|
installed_package_id_set = set(self._installed_package_dict.keys()) | set(self._to_install_package_dict.keys())
|
||||||
installed_package_id_set = installed_package_id_set.difference(self._to_remove_package_set)
|
installed_package_id_set = installed_package_id_set.difference(self._to_remove_package_set)
|
||||||
|
|
||||||
managed_package_id_set = set(installed_package_id_set) | self._to_remove_package_set
|
managed_package_id_set = installed_package_id_set | self._to_remove_package_set
|
||||||
|
|
||||||
# TODO: For absolutely no reason, this function seems to run in a loop
|
# TODO: For absolutely no reason, this function seems to run in a loop
|
||||||
# even though no loop is ever called with it.
|
# even though no loop is ever called with it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue