pgAdmin 4 commit: Some clumsy coding related fixes reported by SonarQub

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Some clumsy coding related fixes reported by SonarQub
Date: 2020-06-12 09:54:27
Message-ID: E1jjgOJ-0002py-UN@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Some clumsy coding related fixes reported by SonarQube.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8c20f0c0d2ea60322cb1f462241e60be5051be95
Author: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>

Modified Files
--------------
web/pgadmin/__init__.py | 5 +-
web/pgadmin/browser/__init__.py | 22 ++---
.../browser/server_groups/servers/__init__.py | 62 +++++++-------
.../servers/databases/schemas/__init__.py | 5 +-
.../databases/schemas/collations/__init__.py | 24 +++---
.../databases/schemas/foreign_tables/__init__.py | 25 +++---
.../databases/schemas/fts_dictionaries/__init__.py | 36 ++++----
.../tables/constraints/index_constraint/utils.py | 7 +-
.../databases/schemas/tables/rules/__init__.py | 9 +-
.../servers/databases/schemas/tables/utils.py | 14 ++--
.../servers/databases/schemas/types/__init__.py | 50 +++++------
.../servers/databases/schemas/views/__init__.py | 50 ++++++-----
.../server_groups/servers/pgagent/__init__.py | 56 ++++++-------
.../server_groups/servers/roles/__init__.py | 97 +++++++++++-----------
14 files changed, 223 insertions(+), 239 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-06-12 09:54:51 Re: [pgAdmin][patch] Clumsy coding related fixes
Previous Message Akshay Joshi 2020-06-12 09:20:42 [pgAdmin][patch] Runtime fixes reported by SonarQube