From b45fea19f6c3a7fc75103385b5aa2b9a0f617735 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Tue, 23 Oct 2018 16:50:55 +0100 Subject: _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 --- buildstream/_artifactcache/artifactcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1