diff --git a/nodepool/builder.py b/nodepool/builder.py index 65f35226f..26cfc5782 100644 --- a/nodepool/builder.py +++ b/nodepool/builder.py @@ -82,7 +82,7 @@ class DibImageFile(object): if image_file.is_file(): image = DibImageFile.from_path(image_file) if image.image_id == image_id: - images.append(image) + images.append(image) return images @staticmethod diff --git a/tox.ini b/tox.ini index 6bdb91193..4cd653041 100644 --- a/tox.ini +++ b/tox.ini @@ -63,6 +63,6 @@ commands = stestr --test-path ./nodepool/tests/functional/openshift run --no-sub [flake8] # These are ignored intentionally in zuul projects; # please don't submit patches that solely correct them or enable them. -ignore = E124,E125,E129,E402,H,W503 +ignore = E124,E125,E129,E402,E741,H,W503,W504 show-source = True exclude = .venv,.tox,dist,doc,build,*.egg