pgAdmin4 python3 some issues

Поиск
Список
Период
Сортировка
От Seçkin Alan
Тема pgAdmin4 python3 some issues
Дата
Msg-id CAJZJJmpoROJTKTMMwnHuk1E730ODhPCWjZ3dW_62kgmB_j=rmw@mail.gmail.com
обсуждение исходный текст
Список pgadmin-hackers
Hi,
In Python 2.7
>>>NameError('seckin').message
'seckin'

In Python3
>>> NameError('seckin').message
Traceback (most recent call last):
  File "<input>", line 1, in <module>
AttributeError: 'NameError' object has no attribute 'message'

So
In python3 some exceptions doesnt showing

For example:
pgadmin4/web/pgadmin/browser/server_groups/servers/__init__.py
523: errormsg=e.message

If we use __str__() method, not problem in both versions

what measures can be taken?


--
Seçkin ALAN
http://sckn.org


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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin4] [Patch] Implementation of the Data Grid and Query Tool
Следующее
От: Sanket Mehta
Дата:
Сообщение: PATCH: FTS Dictionary