hgext/largefiles/lfutil.py
branchstable
changeset 15548 f76584098c88
parent 15408 db8b0ee74025
child 15553 e89385e4ef8d
--- a/hgext/largefiles/lfutil.py	Sun Nov 20 23:09:32 2011 +0100
+++ b/hgext/largefiles/lfutil.py	Tue Nov 22 17:51:43 2011 +0100
@@ -158,7 +158,7 @@
             try:
                 if hash == hashfile(lfile):
                     lfdirstate.normal(lfile)
-            except IOError, err:
+            except OSError, err:
                 if err.errno != errno.ENOENT:
                     raise