mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Rename variable in for loop
CURA-4129
This commit is contained in:
parent
bb1475d1fd
commit
8c6abc85fc
1 changed files with 2 additions and 2 deletions
|
@ -348,8 +348,8 @@ class ContainerManager(QObject):
|
|||
|
||||
all_stacks = self._container_registry.findContainerStacks()
|
||||
for stack in all_stacks:
|
||||
for container_id in container_ids_to_check:
|
||||
if container_id in [child.getId() for child in stack.getContainers()]:
|
||||
for used_container_id in container_ids_to_check:
|
||||
if used_container_id in [child.getId() for child in stack.getContainers()]:
|
||||
Logger.log("d", "The container is in use by %s", stack.getId())
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue