pgAdmin 4 commit: Fix file type detection for Python 2.6. Fixes #1330 - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Fix file type detection for Python 2.6. Fixes #1330
Date
Msg-id E1bCTtS-0002Zm-F3@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Fix file type detection for Python 2.6. Fixes #1330

To find out the type of file selected using FileManager in query tool, we use bitwise OR( | ) on two sets which is not
workingon python-2.6.9 version. 
Now we took list of elements instead of sets to fix the issue.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=677008af10d93d8b11b9a88341c5d69ff9c7e68b
Author: Surinder Kumar <surinder.kumar@enterprisedb.com>

Modified Files
--------------
web/pgadmin/tools/sqleditor/__init__.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Fix "global name 'execfile' not defined".
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Patch]: RM#1330 - Syntax error while running pgadmin_beta with python2.6.9