Mercurial > hg-stable
changeset 26693:338af85109dd
error: remove superfluous pass statements
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Oct 2015 09:52:32 -0400 |
parents | 8d1cfd77b64f |
children | c2e6e3cc7cb4 |
files | mercurial/error.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/error.py Mon Oct 12 18:49:23 2015 -0700 +++ b/mercurial/error.py Thu Oct 15 09:52:32 2015 -0400 @@ -55,19 +55,16 @@ class Abort(HintException): """Raised if a command needs to print an error and exit.""" - pass class HookLoadError(Abort): """raised when loading a hook fails, aborting an operation Exists to allow more specialized catching.""" - pass class HookAbort(Abort): """raised when a validation hook fails, aborting an operation Exists to allow more specialized catching.""" - pass class ConfigError(Abort): """Exception raised when parsing config files""" @@ -108,7 +105,6 @@ class RequirementError(RepoError): """Exception raised if .hg/requires has an unknown entry.""" - pass class LockError(IOError): def __init__(self, errno, strerror, filename, desc): @@ -175,7 +171,6 @@ class ReadOnlyPartError(RuntimeError): """error raised when code tries to alter a part being generated""" - pass class PushkeyFailed(Abort): """error raised when a pushkey part failed to update a value"""