pgAdmin 4 commit: The 'str' object never has attribute decode in Python - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: The 'str' object never has attribute decode in Python
Date
Msg-id E1k5qlJ-0005Oy-DW@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
The 'str' object never has attribute decode in Python3, so remove the dead code.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=36574b25b697a1ee61fd5342755d5db1efec7306
Author: Cyril Jouve <jv.cyril@gmail.com>

Modified Files
--------------
web/pgadmin/__init__.py                            |  3 -
web/pgadmin/about/__init__.py                      |  3 -
.../browser/server_groups/servers/__init__.py      |  4 -
web/pgadmin/misc/file_manager/__init__.py          | 24 +-----
web/pgadmin/tools/sqleditor/__init__.py            | 18 +----
web/pgadmin/utils/crypto.py                        | 13 +---
web/pgadmin/utils/driver/psycopg2/connection.py    | 89 ++++------------------
.../utils/driver/psycopg2/server_manager.py        |  9 +--
web/pgadmin/utils/session.py                       |  7 +-
9 files changed, 21 insertions(+), 149 deletions(-)


pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: str never has attribute decode in py3
Next
From: Akshay Joshi
Date:
Subject: Re: str never has attribute decode in py3