summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-02-10 09:44:17 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-10 09:44:17 +0100
commit0068ed62900611c0ee0ee77f8d69ca86812fd6ed (patch)
tree23e5f88ac3bf871b85f9a9153366de106ee813a0
parentf753da5a78996db79e885aaf0159056d4ecba632 (diff)
downloadgemato-0068ed62900611c0ee0ee77f8d69ca86812fd6ed.tar.gz
cli: Add __slots__ to remaining classes
-rw-r--r--gemato/cli.py5
1 files changed, 5 insertions, 0 deletions
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)