eric6/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py

changeset 7836
2f0d208b8137
parent 7785
9978016560ec
child 7923
91e843545d9a
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py	Sat Nov 21 19:31:16 2020 +0100
+++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py	Sun Nov 22 16:04:59 2020 +0100
@@ -80,7 +80,7 @@
     try:
         with open(config, "w") as f:
             f.write(DefaultConfig)
-    except IOError:
+    except OSError:
         pass
 
 
@@ -92,7 +92,7 @@
     try:
         with open(config, "r") as f:
             configList = f.read().splitlines()
-    except IOError:
+    except OSError:
         return
     
     newConfig = []
@@ -129,5 +129,5 @@
         try:
             with open(config, "w") as f:
                 f.write("\n".join(newConfig))
-        except IOError:
+        except OSError:
             pass

eric ide

mercurial