Re: Raise an exception under Python < 3.4

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Raise an exception under Python < 3.4
Date: 2020-04-30 08:14:04
Message-ID: CANxoLDfH=SoCedRkfr7JVSfMt+7mNGE_3-L9Gn8kQVfE8LQGtA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pgadmin(dot)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*

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-04-30 08:15:24 Re: Raise an exception under Python < 3.4
Previous Message Khushboo Vashi 2020-04-30 06:43:09 Re: RM3694-If database is already connected and click on database then connect database should not displayed in Menu