pgAdmin 4 commit: 'hasattr' function on '__builtins__' for 'xrange' fun

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: 'hasattr' function on '__builtins__' for 'xrange' fun
Date: 2016-07-12 07:52:08
Message-ID: E1bMsUC-0002ba-Q1@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

'hasattr' function on '__builtins__' for 'xrange' function does not
return correct information from a script, but works well on interactive
shell. Used a more proper check for Python > 2 instead of the current
implementation.

Thanks Vishal for the report.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=1ada5031cdfcaf4c4a9ae00ee2e97b3e58d5b0fa

Modified Files
--------------
web/pgadmin/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2016-07-12 08:04:51 PATCH: Unable to create procedure (pgAdmin4)
Previous Message Surinder Kumar 2016-07-12 07:37:53 [pgAdmin4][Patch]: CanDrop option is missing for newly created database