eric6.py

changeset 4419
66be66ec3afc
parent 4411
15556f6b4b0f
child 4489
d0d6e4ad31bd
--- a/eric6.py	Wed Sep 02 18:44:31 2015 +0200
+++ b/eric6.py	Wed Sep 02 18:46:11 2015 +0200
@@ -327,27 +327,24 @@
 
     splash.showMessage(
         QCoreApplication.translate("eric6", "Generating Main Window..."))
-    try:
-        mainWindow = UserInterface(app, loc, splash, pluginFile, noopen,
-                                   restartArgs)
-        app.lastWindowClosed.connect(app.quit)
-        mainWindow.show()
-        
-        QTimer.singleShot(0, uiStartUp)
-        
-        # generate a graphical error handler
-        from E5Gui import E5ErrorMessage
-        eMsg = E5ErrorMessage.qtHandler()
-        eMsg.setMinimumSize(600, 400)
-        
-        # start the event loop
-        inMainLoop = True
-        res = app.exec_()
-        logging.debug("Shutting down, result {0:d}".format(res))
-        logging.shutdown()
-        sys.exit(res)
-    except:
-        raise
+    mainWindow = UserInterface(app, loc, splash, pluginFile, noopen,
+                               restartArgs)
+    app.lastWindowClosed.connect(app.quit)
+    mainWindow.show()
+    
+    QTimer.singleShot(0, uiStartUp)
+    
+    # generate a graphical error handler
+    from E5Gui import E5ErrorMessage
+    eMsg = E5ErrorMessage.qtHandler()
+    eMsg.setMinimumSize(600, 400)
+    
+    # start the event loop
+    inMainLoop = True
+    res = app.exec_()
+    logging.debug("Shutting down, result {0:d}".format(res))
+    logging.shutdown()
+    sys.exit(res)
 
 if __name__ == '__main__':
     main()

eric ide

mercurial