From 79885320f3bbf96c202b4d770b307133d8d759fd Mon Sep 17 00:00:00 2001 From: Tobias Persson Date: Thu, 10 Oct 2024 10:22:02 +0200 Subject: [PATCH] Remove duplication --- src/execution_space_provider/utilities/external_provider.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/execution_space_provider/utilities/external_provider.py b/src/execution_space_provider/utilities/external_provider.py index cf8ce2e..f4a8ebc 100644 --- a/src/execution_space_provider/utilities/external_provider.py +++ b/src/execution_space_provider/utilities/external_provider.py @@ -193,8 +193,6 @@ def start(self, minimum_amount: int, maximum_amount: int) -> str: etos_rabbitmq = self.etos.config.etos_rabbitmq_publisher_data() rabbitmq_password = rabbitmq.get("password", "") etos_rabbitmq_password = etos_rabbitmq.get("password", "") - rabbitmq_password = rabbitmq.get("password", "") - etos_rabbitmq_password = etos_rabbitmq.get("password", "") if os.getenv("ETOS_ENCRYPTION_KEY") is not None: rabbitmq_password = encrypt( rabbitmq_password.encode(), os.getenv("ETOS_ENCRYPTION_KEY", "")