From: | George Gelashvili <ggelashvili(at)pivotal(dot)io> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | [Patch] Python 3 compatibility |
Date: | 2017-01-19 22:12:33 |
Message-ID: | CAHowoHYJqHk-R--GvpN--=B2oMPz50XXhmG_w1VyGc3B60U1dA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
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
Attachment | Content-Type | Size |
---|---|---|
python3_fix.diff | text/plain | 618 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | George Gelashvili | 2017-01-19 23:15:04 | Re: Acceptance Tests against a browser (WIP) |
Previous Message | George Gelashvili | 2017-01-19 22:07:44 | Re: Acceptance Tests against a browser (WIP) |