eric6: removed some 'experimental' code.

Fri, 25 Oct 2019 20:19:51 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 25 Oct 2019 20:19:51 +0200
changeset 7315
41fdf2cd1c33
parent 7314
c32c24345ca7
child 7316
abe6dd39e4ee

eric6: removed some 'experimental' code.

eric6/eric6.py file | annotate | diff | comparison | revisions
--- a/eric6/eric6.py	Fri Oct 25 20:15:51 2019 +0200
+++ b/eric6/eric6.py	Fri Oct 25 20:19:51 2019 +0200
@@ -26,18 +26,13 @@
 sys.path.insert(1, os.path.dirname(__file__))
 
 try:
-    from PyQt5.QtCore import pyqt5_enable_new_onexit_scheme
-    # __IGNORE_EXCEPTION__
-    pyqt5_enable_new_onexit_scheme(True)
-except ImportError:
     try:
-        try:
-            from PyQt5 import sip       # __IGNORE_EXCEPTION__
-        except ImportError:
-            import sip
-        sip.setdestroyonexit(False)
-    except AttributeError:
-        pass
+        from PyQt5 import sip       # __IGNORE_EXCEPTION__
+    except ImportError:
+        import sip
+    sip.setdestroyonexit(False)
+except AttributeError:
+    pass
 
 import traceback
 import time

eric ide

mercurial