Show More
@@ -55,19 +55,16 b' class InterventionRequired(Exception):' | |||||
55 |
|
55 | |||
56 | class Abort(HintException): |
|
56 | class Abort(HintException): | |
57 | """Raised if a command needs to print an error and exit.""" |
|
57 | """Raised if a command needs to print an error and exit.""" | |
58 | pass |
|
|||
59 |
|
58 | |||
60 | class HookLoadError(Abort): |
|
59 | class HookLoadError(Abort): | |
61 | """raised when loading a hook fails, aborting an operation |
|
60 | """raised when loading a hook fails, aborting an operation | |
62 |
|
61 | |||
63 | Exists to allow more specialized catching.""" |
|
62 | Exists to allow more specialized catching.""" | |
64 | pass |
|
|||
65 |
|
63 | |||
66 | class HookAbort(Abort): |
|
64 | class HookAbort(Abort): | |
67 | """raised when a validation hook fails, aborting an operation |
|
65 | """raised when a validation hook fails, aborting an operation | |
68 |
|
66 | |||
69 | Exists to allow more specialized catching.""" |
|
67 | Exists to allow more specialized catching.""" | |
70 | pass |
|
|||
71 |
|
68 | |||
72 | class ConfigError(Abort): |
|
69 | class ConfigError(Abort): | |
73 | """Exception raised when parsing config files""" |
|
70 | """Exception raised when parsing config files""" | |
@@ -108,7 +105,6 b' class CapabilityError(RepoError):' | |||||
108 |
|
105 | |||
109 | class RequirementError(RepoError): |
|
106 | class RequirementError(RepoError): | |
110 | """Exception raised if .hg/requires has an unknown entry.""" |
|
107 | """Exception raised if .hg/requires has an unknown entry.""" | |
111 | pass |
|
|||
112 |
|
108 | |||
113 | class LockError(IOError): |
|
109 | class LockError(IOError): | |
114 | def __init__(self, errno, strerror, filename, desc): |
|
110 | def __init__(self, errno, strerror, filename, desc): | |
@@ -175,7 +171,6 b' class BundleUnknownFeatureError(BundleVa' | |||||
175 |
|
171 | |||
176 | class ReadOnlyPartError(RuntimeError): |
|
172 | class ReadOnlyPartError(RuntimeError): | |
177 | """error raised when code tries to alter a part being generated""" |
|
173 | """error raised when code tries to alter a part being generated""" | |
178 | pass |
|
|||
179 |
|
174 | |||
180 | class PushkeyFailed(Abort): |
|
175 | class PushkeyFailed(Abort): | |
181 | """error raised when a pushkey part failed to update a value""" |
|
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