diff options
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/compilers.py | 3 | ||||
-rw-r--r-- | mesonbuild/mconf.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index fa06ae9..a325600 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -329,8 +329,7 @@ def build_unix_rpath_args(build_dir, rpath_paths, install_rpath): return ['-Wl,-rpath,' + paths] class CrossNoRunException(MesonException): - def __init(self, *args, **kwargs): - Exception.__init__(self, *args, **kwargs) + pass class RunResult: def __init__(self, compiled, returncode=999, stdout='UNDEFINED', stderr='UNDEFINED'): diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 585e11c..55860a4 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -26,8 +26,7 @@ parser.add_argument('--clearcache', action='store_true', default=False, help='Clear cached state (e.g. found dependencies)') class ConfException(mesonlib.MesonException): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + pass class Conf: def __init__(self, build_dir): |