Mercurial > public > mercurial-scm > hg
diff mercurial/pure/mpatch.py @ 11122:2114e44b08f6
clean up remaining generic exceptions
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 07 May 2010 16:59:00 -0500 |
parents | 08a0f04b56bd |
children | 8f7132fa5e59 |
line wrap: on
line diff
--- a/mercurial/pure/mpatch.py Fri May 07 16:51:45 2010 -0400 +++ b/mercurial/pure/mpatch.py Fri May 07 16:59:00 2010 -0500 @@ -112,7 +112,7 @@ outlen += length if bin != binend: - raise Exception("patch cannot be decoded") + raise ValueError("patch cannot be decoded") outlen += orig - last return outlen