src/eric7/eric7_diff.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
10 This is the main Python script that performs the necessary initialization 10 This is the main Python script that performs the necessary initialization
11 of the Diff module and starts the Qt event loop. This is a standalone 11 of the Diff module and starts the Qt event loop. This is a standalone
12 version of the integrated Diff module. 12 version of the integrated Diff module.
13 """ 13 """
14 14
15 import os
15 import sys 16 import sys
16 import os
17 17
18 for arg in sys.argv[:]: 18 for arg in sys.argv[:]:
19 if arg.startswith("--config="): 19 if arg.startswith("--config="):
20 from eric7 import Globals 20 from eric7 import Globals
21 21
32 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir 32 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir
33 ) 33 )
34 sys.argv.remove(arg) 34 sys.argv.remove(arg)
35 35
36 from eric7.Globals import AppInfo 36 from eric7.Globals import AppInfo
37
38 from eric7.Toolbox import Startup 37 from eric7.Toolbox import Startup
39 38
40 39
41 def createMainWidget(argv): 40 def createMainWidget(argv):
42 """ 41 """

eric ide

mercurial