Mercurial > public > mercurial-scm > hg
diff hgext/largefiles/lfcommands.py @ 16687:e34106fa0dc3
cleanup: "raise SomeException()" -> "raise SomeException"
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:00:58 +0200 |
parents | ebf6d38c9063 |
children | 7d6a660ca151 |
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py Sat May 12 16:00:57 2012 +0200 +++ b/hgext/largefiles/lfcommands.py Sat May 12 16:00:58 2012 +0200 @@ -129,7 +129,7 @@ try: fctx = ctx.filectx(lfutil.standin(f)) except error.LookupError: - raise IOError() + raise IOError renamed = fctx.renamed() if renamed: renamed = lfutil.splitstandin(renamed[0]) @@ -229,7 +229,7 @@ try: fctx = ctx.filectx(srcfname) except error.LookupError: - raise IOError() + raise IOError renamed = fctx.renamed() if renamed: # standin is always a largefile because largefile-ness @@ -278,7 +278,7 @@ try: fctx = ctx.filectx(f) except error.LookupError: - raise IOError() + raise IOError renamed = fctx.renamed() if renamed: renamed = renamed[0]