pgAdmin 4 commit: Some clumsy coding related fixes reported by SonarQub - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Some clumsy coding related fixes reported by SonarQub
Date
Msg-id E1jkn9z-0004qq-6L@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Some clumsy coding related fixes reported by SonarQube.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=641f7bbe9d12068560ebce47bcb82d54723247ed
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>

Modified Files
--------------
.../databases/languages/static/js/language.js      |  21 +--
web/pgadmin/browser/utils.py                       |   6 +-
.../pg_utilities_backup_restore_test.py            |   5 +-
web/pgadmin/misc/file_manager/__init__.py          |  10 +-
web/pgadmin/tools/debugger/__init__.py             |  30 ++---
.../tools/debugger/utils/debugger_instance.py      |  16 +--
web/pgadmin/tools/restore/__init__.py              |  42 +++---
web/pgadmin/tools/sqleditor/__init__.py            |  22 ++--
web/pgadmin/tools/sqleditor/command.py             |   6 +-
web/pgadmin/utils/driver/psycopg2/__init__.py      |   7 +-
web/pgadmin/utils/driver/psycopg2/connection.py    | 145 ++++++++++-----------
.../utils/driver/psycopg2/server_manager.py        |  11 +-
web/pgadmin/utils/preferences.py                   |   7 +-
web/pgadmin/utils/route.py                         |   9 +-
web/pgadmin/utils/session.py                       |  15 +--
web/pgadmin/utils/sqlautocomplete/sqlcompletion.py |  12 +-
web/regression/runtests.py                         |  28 ++--
17 files changed, 184 insertions(+), 208 deletions(-)


pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: Patch for SonarQube UI fixes.
Next
From: Akshay Joshi
Date:
Subject: Re: Reg - [sonarqube] Refactor this code so that this expression doesnot always evaluate to true