Fixed following SonarQube code smells:
1) Remove this useless assignment to a variable.
2) Remove the unused local variable.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e38c38cd581ceaa8c45b622b9bf37204caca9d59
Modified Files
--------------
web/pgadmin/__init__.py | 15 +++++++--------
web/pgadmin/authenticate/webserver.py | 2 +-
.../browser/server_groups/servers/roles/__init__.py | 5 +----
web/pgadmin/browser/server_groups/servers/utils.py | 2 +-
.../feature_tests/pg_utilities_backup_restore_test.py | 4 +---
.../feature_tests/pg_utilities_maintenance_test.py | 2 +-
web/pgadmin/misc/file_manager/__init__.py | 2 +-
web/pgadmin/misc/themes/__init__.py | 2 +-
web/pgadmin/static/js/SchemaView/index.jsx | 9 ++-------
web/pgadmin/tools/erd/tests/test_tables.py | 2 +-
web/pgadmin/tools/import_export_servers/__init__.py | 2 +-
web/pgadmin/tools/psql/__init__.py | 2 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 13 ++++++-------
web/pgadmin/tools/sqleditor/utils/save_changed_data.py | 2 +-
web/pgadmin/utils/master_password.py | 4 ++--
web/regression/feature_utils/pgadmin_page.py | 2 +-
web/regression/python_test_utils/test_utils.py | 2 +-
17 files changed, 30 insertions(+), 42 deletions(-)