From 0068ed62900611c0ee0ee77f8d69ca86812fd6ed Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 10 Feb 2018 09:44:17 +0100 Subject: cli: Add __slots__ to remaining classes --- gemato/cli.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gemato/cli.py b/gemato/cli.py index 2724197..d94d895 100644 --- a/gemato/cli.py +++ b/gemato/cli.py @@ -31,6 +31,8 @@ class GematoCommand(object): Base class for commands supported by gemato. """ + __slots__ = [] + @property def name(self): """ @@ -107,6 +109,9 @@ class VerifyCommand(BaseOpenPGPCommand): name = 'verify' help = 'Verify one or more directories against Manifests' + __slots__ = ['paths', 'require_signed_manifest', + 'init_kwargs', 'kwargs'] + def add_options(self, verify): super(VerifyCommand, self).add_options(verify) -- cgit v1.2.3