From aa7ced4ef1eb9e1cb7c9b4505416be36ba681d52 Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Wed, 8 Apr 2020 14:30:29 +0530 Subject: [PATCH] Fixed a typo in previous commit --- web/pgadmin/tools/schema_diff/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/tools/schema_diff/__init__.py b/web/pgadmin/tools/schema_diff/__init__.py index a0ebacbaf..f86ba4937 100644 --- a/web/pgadmin/tools/schema_diff/__init__.py +++ b/web/pgadmin/tools/schema_diff/__init__.py @@ -568,7 +568,7 @@ def check_version_compatibility(sid, tid): tar_manager = driver.connection_manager(tar_server.id) target_conn = src_manager.connection() - if not (src_conn.connected() and target.connected()): + if not (src_conn.connected() and target_conn.connected()): return False, gettext('Server(s) disconnected.') if src_manager.server_type != tar_manager.server_type: