Initialize default values in PodmanCompose constructor

Signed-off-by: legobt <6wbvkn0j@anonaddy.me>
This commit is contained in:
legobt 2024-07-31 07:10:57 +00:00
parent 0a6e0a35e1
commit 9fdee76858
No known key found for this signature in database
GPG Key ID: C5F28D4B2B8927AB

View File

@ -1667,11 +1667,11 @@ class PodmanCompose:
self.environ = {}
self.exit_code = None
self.commands = {}
self.global_args = None
self.global_args = argparse.Namespace()
self.project_name = None
self.dirname = None
self.pods = None
self.containers = None
self.containers = []
self.vols = None
self.networks = {}
self.default_net = "default"