From 2af562bd804c29ddc40e87dea7d65332525d90a7 Mon Sep 17 00:00:00 2001 From: Mihaela Balutoiu Date: Fri, 29 Mar 2024 14:32:17 +0200 Subject: [PATCH] Remove the dublicate declaration of the `remote_port` variable Signed-off-by: Mihaela Balutoiu --- coriolis/providers/replicator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/coriolis/providers/replicator.py b/coriolis/providers/replicator.py index bef42660..ea586ce5 100644 --- a/coriolis/providers/replicator.py +++ b/coriolis/providers/replicator.py @@ -129,7 +129,6 @@ def _get_ssh_tunnel(self): it simply creates the object, without actually connecting. """ remote_host = self._ssh_conn_info["hostname"] - remote_port = self._ssh_conn_info["port"] remote_user = self._ssh_conn_info["username"] local_host = "127.0.0.1" remote_port = self._ssh_conn_info.get("port", 22)