From 448363aac3d5843a9a3309b3e91925b64897bf47 Mon Sep 17 00:00:00 2001 From: Gautam Wadhwa Date: Tue, 13 Aug 2024 18:23:27 +0100 Subject: [PATCH] Fix linting. --- plugins/modules/podman_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/podman_image.py b/plugins/modules/podman_image.py index 7277020e..a9bc1dec 100644 --- a/plugins/modules/podman_image.py +++ b/plugins/modules/podman_image.py @@ -604,8 +604,8 @@ def _get_args_containerfile_hash(self): should_hash_args_containerfile = ( context_has_containerfile or - self.build.get('file') != None or - self.build.get('container_file') != None + self.build.get('file') is not None or + self.build.get('container_file') is not None ) if should_hash_args_containerfile: