Re: Raise an exception under Python < 3.4 - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Raise an exception under Python < 3.4
Date
Msg-id CA+OCxowznBkTuD5soO_Y6DCpWdVnDx0OAdfC-bvCOY0yWNa0vA@mail.gmail.com
Whole thread Raw
In response to Re: Raise an exception under Python < 3.4  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Responses Re: Raise an exception under Python < 3.4  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi Akshay,

Sure, go for it.

On Thu, Apr 30, 2020 at 9:14 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Dave

Can we add a similar exception in our test suites? Instead of throwing import error, it would be good. If you agree I'll modify the logic.  

On Mon, Apr 27, 2020 at 9:27 PM Dave Page <dpage@pgadmin.org> wrote:
The attached patch raises an exception if run under Python < 3.4. It also cleans up the README to remove references to Python 2 and removes Python 2-isms from the main config.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: Raise an exception under Python < 3.4
Next
From: Satish V
Date:
Subject: Re: RM3694-If database is already connected and click on databasethen connect database should not displayed in Menu