aboutsummaryrefslogtreecommitdiff
path: root/coredata.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-04-01 14:08:54 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-04-01 14:08:54 +0300
commitb77ac5ec9f8efa2ba589ba65def1ba2d219a8ff3 (patch)
tree95f24daea25ca7a69653e736c79b0fccf2a03449 /coredata.py
parente12100b7264c12a619ffa940a3e5022d5e992252 (diff)
downloadmeson-b77ac5ec9f8efa2ba589ba65def1ba2d219a8ff3.zip
meson-b77ac5ec9f8efa2ba589ba65def1ba2d219a8ff3.tar.gz
meson-b77ac5ec9f8efa2ba589ba65def1ba2d219a8ff3.tar.bz2
Extracted dependencies to their own file.
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 57db2f9..4a56b74 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)