summaryrefslogtreecommitdiff
path: root/coredata.py
diff options
context:
space:
mode:
Diffstat (limited to 'coredata.py')
-rw-r--r--coredata.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/coredata.py b/coredata.py
index 57db2f9a2..4a56b74a4 100644
--- a/coredata.py
+++ b/coredata.py
@@ -14,14 +14,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# This file contains all data that must persist over multiple
-# invocations of Meson. It is roughly the same thing as
-# cmakecache.
-
import pickle
version = '0.3.0-research'
+# This class contains all data that must persist over multiple
+# invocations of Meson. It is roughly the same thing as
+# cmakecache.
+
class CoreData():
def __init__(self, options):
@@ -69,3 +69,7 @@ forbidden_target_names = {'clean': None,
'install': None,
'build.ninja': None,
}
+
+class MesonException(Exception):
+ def __init__(self, *args, **kwargs):
+ Exception.__init__(args, kwargs)