eric6.py

changeset 3812
9643514994be
parent 3776
ccb6eacb50e5
child 3814
c8b7a6bbb1a4
equal deleted inserted replaced
3811:7b2f618617ac 3812:9643514994be
228 if not Globals.checkBlacklistedVersions(): 228 if not Globals.checkBlacklistedVersions():
229 sys.exit(100) 229 sys.exit(100)
230 230
231 app = E5Application(sys.argv) 231 app = E5Application(sys.argv)
232 232
233 import Utilities 233 from Toolbox import Startup
234 from Toolbox import Startup
235
236 ddindex = Startup.handleArgs(sys.argv, appinfo) 234 ddindex = Startup.handleArgs(sys.argv, appinfo)
237 235
238 logging.debug("Importing Preferences") 236 logging.debug("Importing Preferences")
239 import Preferences 237 import Preferences
240 238
272 if "--noopen" in sys.argv and sys.argv.index("--noopen") < ddindex: 270 if "--noopen" in sys.argv and sys.argv.index("--noopen") < ddindex:
273 del sys.argv[sys.argv.index("--noopen")] 271 del sys.argv[sys.argv.index("--noopen")]
274 noopen = True 272 noopen = True
275 for arg in sys.argv: 273 for arg in sys.argv:
276 if arg.startswith("--plugin=") and sys.argv.index(arg) < ddindex: 274 if arg.startswith("--plugin=") and sys.argv.index(arg) < ddindex:
275 import Utilities
277 # extract the plugin development option 276 # extract the plugin development option
278 pluginFile = arg.replace("--plugin=", "").replace('"', "") 277 pluginFile = arg.replace("--plugin=", "").replace('"', "")
279 sys.argv.remove(arg) 278 sys.argv.remove(arg)
280 pluginFile = os.path.expanduser(pluginFile) 279 pluginFile = os.path.expanduser(pluginFile)
281 pluginFile = Utilities.normabspath(pluginFile) 280 pluginFile = Utilities.normabspath(pluginFile)

eric ide

mercurial