aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/compilers.py3
-rw-r--r--mesonbuild/mconf.py3
-rwxr-xr-xrun_project_tests.py3
3 files changed, 2 insertions, 7 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):
diff --git a/run_project_tests.py b/run_project_tests.py
index ab8e3ae..e9f1942 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -66,9 +66,6 @@ class DummyFuture(conc.Future):
ask for the result. Used on platforms where sem_open() is not available:
MSYS2, OpenBSD, etc: https://bugs.python.org/issue3770
'''
- def __init__(self, *args, **kwargs):
- super().__init__(*args, **kwargs)
-
def set_function(self, fn, *args, **kwargs):
self.fn = fn
self.fn_args = args