From 4ea079faadf3611b9760e6358fc262ecd6873d2a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 14 Aug 2019 12:00:08 +0900 Subject: [PATCH] Fix builds which don't specify shell preference --- buildsrht/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildsrht/manifest.py b/buildsrht/manifest.py index 41509f8..f0532d7 100644 --- a/buildsrht/manifest.py +++ b/buildsrht/manifest.py @@ -83,7 +83,7 @@ class Manifest: raise Exception("Expected secrets to be a UUID array") # Will throw exception on invalid UUIDs as well secrets = list(map(uuid.UUID, secrets)) - if not isinstance(shell, bool): + if shell is not None and not isinstance(shell, bool): raise Exception("Expected shell to be a boolean") self.image = image self.arch = arch -- 2.38.5