From a82db69dd3b9b7b83f766244dfec5e18ef09603f Mon Sep 17 00:00:00 2001 From: Hanxiang Gao Date: Mon, 9 Mar 2020 20:51:25 +0800 Subject: fix: Remove unused variables 'self.nocache' variable is not used, has replaced it with 'not self.conf.cache'. Change-Id: I46c59250b1781aadcb486567a8fd0750a05e2f7e --- kolla/image/build.py | 1 - 1 file changed, 1 deletion(-) diff --git a/kolla/image/build.py b/kolla/image/build.py index 1c514151a..0eddc36d2 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -406,7 +406,6 @@ class BuildTask(DockerTask): self.conf = conf self.image = image self.push_queue = push_queue - self.nocache = not conf.cache self.forcerm = not conf.keep self.logger = image.logger -- cgit v1.2.3