mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:19:05 +08:00
Rename variable in for loop
CURA-4129
This commit is contained in:
parent
bb1475d1fd
commit
8c6abc85fc
@ -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…
x
Reference in New Issue
Block a user