contrib/check-code.py
changeset 52640 24ee91ba9aa8
parent 52637 3b6f25190157
child 52738 e38292b85f9f
--- a/contrib/check-code.py	Mon Jan 06 14:15:40 2025 -0500
+++ b/contrib/check-code.py	Sun Jan 05 21:03:17 2025 -0500
@@ -816,7 +816,7 @@
             except UnicodeDecodeError as e:
                 print("%s while reading %s" % (e, f))
                 return result
-    except IOError as e:
+    except OSError as e:
         print("Skipping %s, %s" % (f, str(e).split(':', 1)[0]))
         return result