eric6/eric6.py

branch
setup.py
changeset 6949
a5255f1ba3f0
parent 6942
2602857055c5
child 7192
a22eee00b052
equal deleted inserted replaced
6946:660757d6c57b 6949:a5255f1ba3f0
22 restartArgsList = ["--no-splash", "--plugin", "--debug", "--config", 22 restartArgsList = ["--no-splash", "--plugin", "--debug", "--config",
23 "--pyqt4", "--settings", "--disable-crash", 23 "--pyqt4", "--settings", "--disable-crash",
24 "--disable-plugin"] 24 "--disable-plugin"]
25 restartArgs = [arg for arg in sys.argv[1:] 25 restartArgs = [arg for arg in sys.argv[1:]
26 if arg.split("=", 1)[0] in restartArgsList] 26 if arg.split("=", 1)[0] in restartArgsList]
27
28 sys.path.insert(1, os.path.dirname(__file__))
27 29
28 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__ 30 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__
29 31
30 try: # Only for Py2 32 try: # Only for Py2
31 import Globals.compatibility_fixes # __IGNORE_WARNING__ 33 import Globals.compatibility_fixes # __IGNORE_WARNING__

eric ide

mercurial