From c5e404c9c60c282fafac4fe6eb6d0b529bcb05fa Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sat, 20 May 2023 18:32:05 +0200 Subject: [PATCH] Repair configuration check Use membership test instead. Signed-off-by: Georg Pfuetzenreuter --- scullery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scullery.py b/scullery.py index 925a8b1..f085ad0 100755 --- a/scullery.py +++ b/scullery.py @@ -116,7 +116,7 @@ def main_interactive(): box_name = box.get('name', None) box_image = box.get('image', None) box_file = box.get('file', '{}/Vagrantfile-Template'.format(os.path.abspath(os.path.dirname(__file__)))) - if any([box_name, box_image, box_file]) is None: + if None in [box_name, box_image, box_file]: _abort('Box configuration is incomplete') box_bootstrap = box.get('bootstrap', None) suites = configmap['suites']