From b22f0096f2c4a76af2a824da7b756e4f6ab79e82 Mon Sep 17 00:00:00 2001 From: jem Date: Tue, 3 Mar 2020 17:36:56 +0100 Subject: [PATCH] fix __init__ --- build.py | 2 +- src/main/python/ddadevops/aws_mixin.py | 4 ++-- src/main/python/ddadevops/dda_pallet_mixin.py | 2 +- src/main/python/ddadevops/devops_terraform_build.py | 2 +- src/main/python/ddadevops/hetzner_mixin.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.py b/build.py index cc1f02e..41d8403 100644 --- a/build.py +++ b/build.py @@ -27,7 +27,7 @@ use_plugin("python.distutils") default_task = "publish" name = "ddadevops" -version = "0.4.0.dev1" +version = "0.4.0.dev2" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" description = __doc__ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] diff --git a/src/main/python/ddadevops/aws_mixin.py b/src/main/python/ddadevops/aws_mixin.py index e9d7813..222e479 100644 --- a/src/main/python/ddadevops/aws_mixin.py +++ b/src/main/python/ddadevops/aws_mixin.py @@ -11,8 +11,8 @@ def add_aws_mixin_config(config, account_name): class AwsMixin(DevopsTerraformBuild): - def __init__(self, project, config): - super().__init__(self, project, config) + def __init__(project, config): + super().__init__(project, config) aws_mixin_config = config['AwsMixin'] self.account_name = aws_mixin_config['account_name'] diff --git a/src/main/python/ddadevops/dda_pallet_mixin.py b/src/main/python/ddadevops/dda_pallet_mixin.py index 35c0b2c..baa7141 100644 --- a/src/main/python/ddadevops/dda_pallet_mixin.py +++ b/src/main/python/ddadevops/dda_pallet_mixin.py @@ -22,7 +22,7 @@ def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name): class DdaPalletMixin(DevopsBuild): def __init__(self, project, config): - super().__init__(self, project, config) + super().__init__(project, config) dda_pallet_mixin_config = config['DdaPalletMixin'] self.tenant = dda_pallet_mixin_config['tenant'] self.application = dda_pallet_mixin_config['application'] diff --git a/src/main/python/ddadevops/devops_terraform_build.py b/src/main/python/ddadevops/devops_terraform_build.py index 3e2167f..61f2b0b 100644 --- a/src/main/python/ddadevops/devops_terraform_build.py +++ b/src/main/python/ddadevops/devops_terraform_build.py @@ -21,7 +21,7 @@ def create_devops_terraform_build_config(stage, project_root_path, build_commons class DevopsTerraformBuild(DevopsBuild): def __init__(self, project, config): - super().__init__(self, project, config) + super().__init__(project, config) self.additional_vars = config['additional_vars'] self.tf_import_name = config['tf_import_name'] self.tf_import_resource = config['tf_import_resource'] diff --git a/src/main/python/ddadevops/hetzner_mixin.py b/src/main/python/ddadevops/hetzner_mixin.py index c3a451e..dc142e2 100644 --- a/src/main/python/ddadevops/hetzner_mixin.py +++ b/src/main/python/ddadevops/hetzner_mixin.py @@ -11,7 +11,7 @@ def add_hetzner_mixin_config(config): class HetznerMixin(DevopsTerraformBuild): def __init__(self, project, config): - super().__init__(self, project, config) + super().__init__(project, config) hetzner_mixin_config = config['HetznerMixin'] self.hetzner_api_key = gopass_credential_from_env_path( hetzner_mixin_config['HETZNER_API_KEY_PATH_ENVIRONMENT'])