Changed code to not use the OSError aliases (IOError, EnvironmentError, socket.error and select.error) anymore. release-5.1.2

Sun, 22 Nov 2020 16:12:38 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 22 Nov 2020 16:12:38 +0100
changeset 169
8a5f79dfc56c
parent 168
92a06e353fa9
child 170
8451df698150

Changed code to not use the OSError aliases (IOError, EnvironmentError, socket.error and select.error) anymore.

AssistantEric/APIsManager.py file | annotate | diff | comparison | revisions
ChangeLog file | annotate | diff | comparison | revisions
PluginAssistantEric.py file | annotate | diff | comparison | revisions
PluginAssistantEric.zip file | annotate | diff | comparison | revisions
--- a/AssistantEric/APIsManager.py	Mon Nov 16 17:30:41 2020 +0100
+++ b/AssistantEric/APIsManager.py	Sun Nov 22 16:12:38 2020 +0100
@@ -248,12 +248,12 @@
                             bases.append("{0} {1}\n".format(
                                 baseEntry, " ".join(
                                     sorted(basesDict[baseEntry]))))
-            except (IOError, ImportError):
+            except (OSError, ImportError):
                 pass
         else:
             try:
                 apis = Utilities.readEncodedFile(apiFile)[0].splitlines(True)
-            except (IOError, UnicodeError):
+            except (OSError, UnicodeError):
                 pass
             try:
                 basesFile = os.path.splitext(apiFile)[0] + ".bas"
@@ -262,7 +262,7 @@
                         Utilities.readEncodedFile(basesFile)[0]
                         .splitlines(True)
                     )
-            except (IOError, UnicodeError):
+            except (OSError, UnicodeError):
                 pass
             language = None
         
--- a/ChangeLog	Mon Nov 16 17:30:41 2020 +0100
+++ b/ChangeLog	Sun Nov 22 16:12:38 2020 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 5.1.2:
+- bug fixes
+
 Version 5.1.1:
 - bug fixes
 
--- a/PluginAssistantEric.py	Mon Nov 16 17:30:41 2020 +0100
+++ b/PluginAssistantEric.py	Sun Nov 22 16:12:38 2020 +0100
@@ -24,7 +24,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.1.1"
+version = "5.1.2"
 className = "AssistantEricPlugin"
 packageName = "AssistantEric"
 shortDescription = "Alternative autocompletion and calltips provider."
Binary file PluginAssistantEric.zip has changed

eric ide

mercurial