Fix adding printers due to unused 'parent' parameter

The 'parent' parameter was unused, so I removed it. But I didn't remove all things that called it, apparently. I just removed some. I didn't try the stackbuilder.

Contributes to issue CURA-5330.
This commit is contained in:
Ghostkeeper 2018-06-01 14:02:32 +02:00
parent a0263676e1
commit 2fbcc22123
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
4 changed files with 9 additions and 10 deletions

View file

@ -39,8 +39,8 @@ from . import Exceptions
# This also means that operations on the stack that modifies the container ordering is prohibited and
# will raise an exception.
class CuraContainerStack(ContainerStack):
def __init__(self, container_id: str, *args, **kwargs):
super().__init__(container_id, *args, **kwargs)
def __init__(self, container_id: str):
super().__init__(container_id)
self._container_registry = ContainerRegistry.getInstance()