summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-23 16:50:55 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-25 15:43:52 +0100
commitb45fea19f6c3a7fc75103385b5aa2b9a0f617735 (patch)
tree77074237628e9c7dd5b8ece9a2f5e3ecee0f8ba5
parentb368f57f5f72254bf4e24bf9a73e9a220ac6e75c (diff)
downloadbuildstream-b45fea19f6c3a7fc75103385b5aa2b9a0f617735.tar.gz
_artifactcache/artifactcache.py: Remove superfluous parens
The pylint report dislikes the superfluous parens which used to be here in this assert. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r--buildstream/_artifactcache/artifactcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py
index 5e698babb..3aeb91567 100644
--- a/buildstream/_artifactcache/artifactcache.py
+++ b/buildstream/_artifactcache/artifactcache.py
@@ -156,7 +156,7 @@ class ArtifactCache():
def setup_remotes(self, *, use_config=False, remote_url=None):
# Ensure we do not double-initialise since this can be expensive
- assert(not self._remotes_setup)
+ assert not self._remotes_setup
self._remotes_setup = True
# Initialize remote artifact caches. We allow the commandline to override