hgext/largefiles/lfcommands.py
changeset 25660 328739ea70c3
parent 25560 2b2108c35bfc
child 26587 56b2bcea2529
--- a/hgext/largefiles/lfcommands.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/hgext/largefiles/lfcommands.py	Tue Jun 23 22:20:08 2015 -0700
@@ -391,7 +391,7 @@
     for lfile in lfiles:
         try:
             expectedhash = repo[node][lfutil.standin(lfile)].data().strip()
-        except IOError, err:
+        except IOError as err:
             if err.errno == errno.ENOENT:
                 continue # node must be None and standin wasn't found in wctx
             raise