pgAdmin 4 commit: Fixed following SonarQube code smells:

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Fixed following SonarQube code smells:
Date: 2022-01-12 09:23:40
Message-ID: E1n7Zr2-0001E6-24@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2022-01-12 10:59:36 pgAdmin 4 commit: Ensure that Partitioned tables should be visible corr
Previous Message Nikhil Mohite 2022-01-12 07:21:15 [pgAdmin][RM-7085]: Partioned tables not showing correctly after creating multiple partition level