Temporary fix for Issue 636 by turning off the caching of the page's entities.
[Melange.git] / scripts / release / error.py
blob95fbfc7e4eb32a8d336861d19f9a62ae8477ac1e
1 # Copyright 2009 the Melange authors.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 __authors__ = [
16 # alphabetical order by last name, please
17 '"David Anderson" <dave@natulte.net>',
21 class Error(Exception):
22 """Base class for release script exceptions."""
23 pass
26 class ObstructionError(Error):
27 """An operation was obstructed by existing data."""
28 pass
31 class ExpectationFailed(Error):
32 """An unexpected state was encountered by an automated step."""
33 pass
36 class AbortedByUser(Error):
37 """The operation was aborted by the user."""
38 pass