diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-18 21:27:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-18 21:27:52 +0200 |
commit | 577a9b40d58929a6d11a50159c194ff6c98a7728 (patch) | |
tree | 5e7ab601de10ddf4cc3d64e2c1fde2b7eb7fc22c /mesonbuild/mesonlib.py | |
parent | 550761d97b8ee2239f0eb24b9cce3fa9a4091a9a (diff) | |
parent | 705612f7cf2a757cc7f8b056b330cce47f9ed0de (diff) | |
download | meson-577a9b40d58929a6d11a50159c194ff6c98a7728.zip meson-577a9b40d58929a6d11a50159c194ff6c98a7728.tar.gz meson-577a9b40d58929a6d11a50159c194ff6c98a7728.tar.bz2 |
Merge pull request #1312 from centricular/print-pkgdep-error-osx
Fix pkg-config error handling on OS X
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r-- | mesonbuild/mesonlib.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index 305d945..2587d6f 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -19,12 +19,10 @@ import platform, subprocess, operator, os, shutil, re from glob import glob class MesonException(Exception): - def __init__(self, *args, **kwargs): - Exception.__init__(self, *args, **kwargs) + '''Exceptions thrown by Meson''' class EnvironmentException(MesonException): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + '''Exceptions thrown while processing and creating the build environment''' class File: def __init__(self, is_built, subdir, fname): |