Mercurial > public > mercurial-scm > hg
diff hgext/mq.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 | d947e1da1259 |
line wrap: on
line diff
--- a/hgext/mq.py Sat May 12 16:02:45 2012 +0200 +++ b/hgext/mq.py Sat May 12 16:02:46 2012 +0200 @@ -613,7 +613,7 @@ raise util.Abort(_("repo commit failed")) try: ph = patchheader(mergeq.join(patch), self.plainmode) - except: + except Exception: raise util.Abort(_("unable to read %s") % patch) diffopts = self.patchopts(diffopts, patch)