[pgadmin-hackers][Patch] Python 3 compatibility

Поиск
Список
Период
Сортировка
От George Gelashvili
Тема [pgadmin-hackers][Patch] Python 3 compatibility
Дата
Msg-id CAHowoHYJqHk-R--GvpN--=B2oMPz50XXhmG_w1VyGc3B60U1dA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgadmin-hackers][Patch] Python 3 compatibility  (Dave Page <dpage@pgadmin.org>)
Список 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


Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: George Gelashvili
Дата:
Сообщение: Re: [pgadmin-hackers] Acceptance Tests against a browser (WIP)
Следующее
От: George Gelashvili
Дата:
Сообщение: Re: [pgadmin-hackers] Acceptance Tests against a browser (WIP)