diff options
Diffstat (limited to 'mesonbuild/templates/dlangtemplates.py')
| -rw-r--r-- | mesonbuild/templates/dlangtemplates.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mesonbuild/templates/dlangtemplates.py b/mesonbuild/templates/dlangtemplates.py index 81840fe11..d5adf9269 100644 --- a/mesonbuild/templates/dlangtemplates.py +++ b/mesonbuild/templates/dlangtemplates.py @@ -13,9 +13,10 @@ # limitations under the License. from __future__ import annotations -from mesonbuild.templates.sampleimpl import SampleImpl import re +from mesonbuild.templates.sampleimpl import SampleImpl + hello_d_template = '''module main; import std.stdio; @@ -104,10 +105,6 @@ endif class DlangProject(SampleImpl): - def __init__(self, options): - super().__init__() - self.name = options.name - self.version = options.version def create_executable(self) -> None: lowercase_token = re.sub(r'[^a-z0-9]', '_', self.name.lower()) |
