diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-24 11:17:18 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-25 15:43:52 +0100 |
commit | fa740402f56bb0172ae1a44e24fd182c80c68ee6 (patch) | |
tree | 33331b3720cdbbea4490535066463ae5dabbbf24 /buildstream/_artifactcache/cascache.py | |
parent | d73d965b736c50bafa019a343707e73ef5c1aa90 (diff) | |
download | buildstream-fa740402f56bb0172ae1a44e24fd182c80c68ee6.tar.gz |
_artifactcache/cascache.py: Prepare attributes in __init__
Python linters prefer that attributes are defined in __init__ rather
than left to later routines.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'buildstream/_artifactcache/cascache.py')
-rw-r--r-- | buildstream/_artifactcache/cascache.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/_artifactcache/cascache.py b/buildstream/_artifactcache/cascache.py index aeab942cc..3ba6dcabd 100644 --- a/buildstream/_artifactcache/cascache.py +++ b/buildstream/_artifactcache/cascache.py @@ -1088,6 +1088,10 @@ class _CASRemote(): self.bytestream = None self.cas = None self.ref_storage = None + self.batch_update_supported = None + self.batch_read_supported = None + self.capabilities = None + self.max_batch_total_size_bytes = None def init(self): if not self._initialized: |