diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-04-22 18:03:18 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-04-22 18:03:18 +0300 |
commit | 236436da56679eefd2f5d3ffc3c2cd6109f382fe (patch) | |
tree | 0ad18419dce02771f755547f77123f52b018f955 /build.py | |
parent | 6354b5f54a7ca9d35402a90f5568f6dc76dd2047 (diff) | |
download | meson-236436da56679eefd2f5d3ffc3c2cd6109f382fe.zip meson-236436da56679eefd2f5d3ffc3c2cd6109f382fe.tar.gz meson-236436da56679eefd2f5d3ffc3c2cd6109f382fe.tar.bz2 |
Started enforcing types better with decorators.
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -129,13 +129,11 @@ class Build: return self.external_link_args.get(compiler.get_language(), []) class IncludeDirs(): - def __init__(self, curdir, dirs, kwargs): + def __init__(self, curdir, dirs): self.curdir = curdir self.incdirs = dirs # Interpreter has validated that all given directories # actually exist. - if len(kwargs) > 0: - raise InvalidArguments('Includedirs function does not take keyword arguments.') def get_curdir(self): return self.curdir |