pgAdmin 4 commit: The 'str' object never has attribute decode in Python

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: The 'str' object never has attribute decode in Python
Date: 2020-08-12 13:25:49
Message-ID: E1k5qlJ-0005Oy-DW@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)cyril(at)gmail(dot)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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-08-12 13:26:35 Re: str never has attribute decode in py3
Previous Message Khushboo Vashi 2020-08-12 12:36:17 Re: str never has attribute decode in py3