diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-17 21:09:48 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-15 13:32:38 +0530 |
commit | 998892ed2962fdabcb3ef882375501fd849d56f8 (patch) | |
tree | 8756aa0d62fe0531d232e684d37764cd3164c37d /mesonbuild/modules/unstable_icestorm.py | |
parent | 4256c0dae2e4793a486ef38eec4361639dbb2957 (diff) | |
download | meson-998892ed2962fdabcb3ef882375501fd849d56f8.zip meson-998892ed2962fdabcb3ef882375501fd849d56f8.tar.gz meson-998892ed2962fdabcb3ef882375501fd849d56f8.tar.bz2 |
Updated all modules to work with the new API.
Diffstat (limited to 'mesonbuild/modules/unstable_icestorm.py')
-rw-r--r-- | mesonbuild/modules/unstable_icestorm.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/modules/unstable_icestorm.py b/mesonbuild/modules/unstable_icestorm.py index 1f548b6..9af5325 100644 --- a/mesonbuild/modules/unstable_icestorm.py +++ b/mesonbuild/modules/unstable_icestorm.py @@ -18,8 +18,8 @@ from . import ExtensionModule class IceStormModule(ExtensionModule): - def __init__(self): - super().__init__() + def __init__(self, interpreter): + super().__init__(interpreter) self.snippets.add('project') self.yosys_bin = None @@ -80,5 +80,5 @@ class IceStormModule(ExtensionModule): interpreter.func_run_target(None, [time_name], { 'command': [self.icetime_bin, bin_target]}) -def initialize(): - return IceStormModule() +def initialize(*args, **kwargs): + return IceStormModule(*args, **kwargs) |