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

From Akshay Joshi
Subject Re: Raise an exception under Python < 3.4
Date
Msg-id CANxoLDfH=SoCedRkfr7JVSfMt+7mNGE_3-L9Gn8kQVfE8LQGtA@mail.gmail.com
Whole thread Raw
In response to Raise an exception under Python < 3.4  (Dave Page <dpage@pgadmin.org>)
Responses Re: Raise an exception under Python < 3.4  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
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

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: RM3694-If database is already connected and click on databasethen connect database should not displayed in Menu
Next
From: Dave Page
Date:
Subject: Re: Raise an exception under Python < 3.4