error: remove superfluous pass statements
authorAugie Fackler <augie@google.com>
Thu, 15 Oct 2015 09:52:32 -0400
changeset 26693 338af85109dd
parent 26692 8d1cfd77b64f
child 26694 c2e6e3cc7cb4
error: remove superfluous pass statements
mercurial/error.py
--- 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"""