# HG changeset patch # User Augie Fackler # Date 2015-10-15 13:52:32 # Node ID 338af85109ddb37c8f1e5d006e1b38b7f1bd871f # Parent 8d1cfd77b64fedadba87dac17d8ea7dce3161436 error: remove superfluous pass statements diff --git a/mercurial/error.py b/mercurial/error.py --- a/mercurial/error.py +++ b/mercurial/error.py @@ -55,19 +55,16 @@ class InterventionRequired(Exception): 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 CapabilityError(RepoError): 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 BundleUnknownFeatureError(BundleVa 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"""