pgAdmin4 python3 some issues - Mailing list pgadmin-hackers

From Seçkin Alan
Subject pgAdmin4 python3 some issues
Date
Msg-id CAJZJJmpoROJTKTMMwnHuk1E730ODhPCWjZ3dW_62kgmB_j=rmw@mail.gmail.com
Whole thread Raw
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin4] [Patch] Implementation of the Data Grid and Query Tool
Next
From: Sanket Mehta
Date:
Subject: PATCH: FTS Dictionary