Thread: pgAdmin 4 commit: Fix file type detection for Python 2.6. Fixes #1330

pgAdmin 4 commit: Fix file type detection for Python 2.6. Fixes #1330

From
Dave Page
Date:
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(-)