##// END OF EJS Templates
error: remove superfluous pass statements
Augie Fackler -
r26693:338af851 default
parent child Browse files
Show More
@@ -55,19 +55,16 b' class InterventionRequired(Exception):'
55 55
56 56 class Abort(HintException):
57 57 """Raised if a command needs to print an error and exit."""
58 pass
59 58
60 59 class HookLoadError(Abort):
61 60 """raised when loading a hook fails, aborting an operation
62 61
63 62 Exists to allow more specialized catching."""
64 pass
65 63
66 64 class HookAbort(Abort):
67 65 """raised when a validation hook fails, aborting an operation
68 66
69 67 Exists to allow more specialized catching."""
70 pass
71 68
72 69 class ConfigError(Abort):
73 70 """Exception raised when parsing config files"""
@@ -108,7 +105,6 b' class CapabilityError(RepoError):'
108 105
109 106 class RequirementError(RepoError):
110 107 """Exception raised if .hg/requires has an unknown entry."""
111 pass
112 108
113 109 class LockError(IOError):
114 110 def __init__(self, errno, strerror, filename, desc):
@@ -175,7 +171,6 b' class BundleUnknownFeatureError(BundleVa'
175 171
176 172 class ReadOnlyPartError(RuntimeError):
177 173 """error raised when code tries to alter a part being generated"""
178 pass
179 174
180 175 class PushkeyFailed(Abort):
181 176 """error raised when a pushkey part failed to update a value"""
General Comments 0
You need to be logged in to leave comments. Login now