eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditEditor.py

branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6942
2602857055c5
child 7198
684261ef2165
equal deleted inserted replaced
7191:960850ec284c 7192:a22eee00b052
19 sys.path.insert(1, os.path.join( 19 sys.path.insert(1, os.path.join(
20 os.path.dirname(__file__), "..", "..", "..", "..")) 20 os.path.dirname(__file__), "..", "..", "..", ".."))
21 # four times up is the eric6 package directory 21 # four times up is the eric6 package directory
22 22
23 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__ 23 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__
24
25 try: # Only for Py2
26 import Globals.compatibility_fixes # __IGNORE_WARNING__
27 except (ImportError):
28 pass
29 24
30 for arg in sys.argv[:]: 25 for arg in sys.argv[:]:
31 if arg.startswith("--config="): 26 if arg.startswith("--config="):
32 import Globals 27 import Globals
33 configDir = arg.replace("--config=", "") 28 configDir = arg.replace("--config=", "")

eric ide

mercurial