[pgAdmin4][psycopg2] - poll function local variable reference error
[pgAdmin4][psycopg2] - poll function local variable reference error
Hi,
During the debugger implementation, we came to know that "poll()" function is getting failed when the status is not equal to "ASYNC_OK". We are getting the below error at python side.
"UnboundLocalError: local variable 'colinfo' referenced before assignment"
Attached is the patch that resolves the above error.
Do review it and let us know for comments.
Thanks,
Neel Patel
Re: [pgAdmin4][psycopg2] - poll function local variable reference error
От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks, applied. On Tue, Mar 15, 2016 at 11:44 AM, Neel Patel wrote: > Hi, > > During the debugger implementation, we came to know that "poll()" function > is getting failed when the status is not equal to "ASYNC_OK". We are getting > the below error at python side. > > "UnboundLocalError: local variable 'colinfo' referenced before assignment" > > > Attached is the patch that resolves the above error. > > Do review it and let us know for comments. > > Thanks, > Neel Patel > > > -- > 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