aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-04-22 18:03:18 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-04-22 18:03:18 +0300
commit236436da56679eefd2f5d3ffc3c2cd6109f382fe (patch)
tree0ad18419dce02771f755547f77123f52b018f955 /build.py
parent6354b5f54a7ca9d35402a90f5568f6dc76dd2047 (diff)
downloadmeson-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.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/build.py b/build.py
index a2a6cf3..3c11449 100644
--- a/build.py
+++ b/build.py
@@ -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