Re: [pgadmin-hackers][Patch] Python 3 compatibility - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgadmin-hackers][Patch] Python 3 compatibility
Date
Msg-id CA+OCxoxpX+vZeWVGe8LNBxdDyU9HksXM5GLnOCUPOeD9epSEaQ@mail.gmail.com
Whole thread Raw
In response to [pgadmin-hackers][Patch] Python 3 compatibility  (George Gelashvili <ggelashvili@pivotal.io>)
List pgadmin-hackers
Thanks, patch applied.

On Thu, Jan 19, 2017 at 10:12 PM, George Gelashvili
<ggelashvili@pivotal.io> wrote:
> Hello
>
> We stumbled on the following error when running tests off of master:
>
> Traceback (most recent call last):
>   File "web/regression/runtests.py", line 254, in <module>
>     servers_info = test_utils.get_config_data()
>   File "/Users/pivotal/workspace/pgadmin4/web/regression/test_utils.py",
> line 72, in get_config_data
>     if (not srv.has_key('enabled')) or srv['enabled'] == True:
> AttributeError: 'dict' object has no attribute 'has_key'
>
> Please find attached a fix for this.
>
> - George & Tira
>
>
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
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: Dave Page
Date:
Subject: [pgadmin-hackers] pgAdmin 4 commit: Python 3 fix for the regression tests
Next
From: Dave Page
Date:
Subject: Re: [pgadmin-hackers] Acceptance Tests against a browser (WIP)