diff --git a/slpkg/dependees.py b/slpkg/dependees.py index 02f203e9..8da79cb5 100644 --- a/slpkg/dependees.py +++ b/slpkg/dependees.py @@ -12,7 +12,7 @@ class Dependees(Configs): """ Show which packages depend. """ def __init__(self, data: dict, packages: list, flags: list): - __slots__ = 'packages', 'flags' + __slots__ = 'data', 'packages', 'flags' super(Configs, self).__init__() self.data: dict = data self.packages: list = packages diff --git a/slpkg/views/views.py b/slpkg/views/views.py index 904713db..4d122f8d 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -19,7 +19,7 @@ from slpkg.models.models import session as Session class ViewMessage(Configs): def __init__(self, flags: list, data=None, repo=None): - __slots__ = 'flags', 'repo' + __slots__ = 'flags', 'data', 'repo' super(Configs, self).__init__() self.flags: list = flags self.data: dict = data