From 6644024e18216a9f4b261c8561b926c4077b6de6 Mon Sep 17 00:00:00 2001 From: Cristiano Urban Date: Mon, 23 Aug 2021 11:49:37 +0200 Subject: [PATCH] Removed 'finally' statement in 'connect()' method. Signed-off-by: Cristiano Urban --- transfer_service/tape_client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/transfer_service/tape_client.py b/transfer_service/tape_client.py index 9110abe..edce101 100644 --- a/transfer_service/tape_client.py +++ b/transfer_service/tape_client.py @@ -46,8 +46,6 @@ class TapeClient(object): except Exception: self.logger.exception("Unable to establish SSH connection with tape library frontend.") raise - finally: - self.disconnect() def getPoolList(self): """Returns a list of 'TapePool' objects.""" -- GitLab