eric6/eric6_browser.py

branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6964
0b8908ba12d3
child 7198
684261ef2165
equal deleted inserted replaced
7191:960850ec284c 7192:a22eee00b052
18 import os 18 import os
19 19
20 sys.path.insert(1, os.path.dirname(__file__)) 20 sys.path.insert(1, os.path.dirname(__file__))
21 21
22 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__ 22 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__
23
24 try: # Only for Py2
25 import Globals.compatibility_fixes # __IGNORE_WARNING__
26 except (ImportError):
27 pass
28 23
29 try: 24 try:
30 try: 25 try:
31 from PyQt5 import sip 26 from PyQt5 import sip
32 except ImportError: 27 except ImportError:

eric ide

mercurial