Mercurial > public > mercurial-scm > hg
diff hgext/convert/monotone.py @ 16689:f366d4c2ff34
cleanup: replace naked excepts with except Exception: ...
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:02:46 +0200 |
parents | cfb6682961b8 |
children | 9724f8f8850b |
line wrap: on
line diff
--- a/hgext/convert/monotone.py Sat May 12 16:02:45 2012 +0200 +++ b/hgext/convert/monotone.py Sat May 12 16:02:46 2012 +0200 @@ -286,7 +286,7 @@ raise IOError # file was deleted or renamed try: data = self.mtnrun("get_file_of", name, r=rev) - except: + except Exception: raise IOError # file was deleted or renamed self.mtnloadmanifest(rev) node, attr = self.files.get(name, (None, ""))