author | Lennard de Rijk <ljvderijk@gmail.com> |
Fri, 13 Mar 2009 23:01:11 +0000 | |
changeset 1839 | 92b28d1bf2f5 |
parent 1835 | 3f30b7b14c57 |
child 1849 | f8728d5e2e07 |
permissions | -rw-r--r-- |
1822
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
1 |
# Copyright 2009 the Melange authors. |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
2 |
# |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
4 |
# you may not use this file except in compliance with the License. |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
5 |
# You may obtain a copy of the License at |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
6 |
# |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
7 |
# http://www.apache.org/licenses/LICENSE-2.0 |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
8 |
# |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
9 |
# Unless required by applicable law or agreed to in writing, software |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
10 |
# distributed under the License is distributed on an "AS IS" BASIS, |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
12 |
# See the License for the specific language governing permissions and |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
13 |
# limitations under the License. |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
14 |
|
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
15 |
__authors__ = [ |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
16 |
# alphabetical order by last name, please |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
17 |
'"David Anderson" <dave@natulte.net>', |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
18 |
] |
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
19 |
|
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
20 |
|
c6bb25fa7f7b
Create an error module containing the top-level error class.
David Anderson <david.jc.anderson@gmail.com>
parents:
diff
changeset
|
21 |
class Error(Exception): |
1835
3f30b7b14c57
Fix indentation to match Melange/Google style.
David Anderson <david.jc.anderson@gmail.com>
parents:
1822
diff
changeset
|
22 |
"""Base class for release script exceptions.""" |