mercurial/scmposix.py
changeset 52640 24ee91ba9aa8
parent 51859 f4733654f144
child 52645 4cb75772818d
--- a/mercurial/scmposix.py	Mon Jan 06 14:15:40 2025 -0500
+++ b/mercurial/scmposix.py	Sun Jan 05 21:03:17 2025 -0500
@@ -95,7 +95,7 @@
                 return width, height
         except ValueError:
             pass
-        except IOError as e:
+        except OSError as e:
             if e.errno == errno.EINVAL:
                 pass
             else: