diff options
Diffstat (limited to 'mesonbuild/modules/hotdoc.py')
-rw-r--r-- | mesonbuild/modules/hotdoc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py index 609b8da..9a41aa5 100644 --- a/mesonbuild/modules/hotdoc.py +++ b/mesonbuild/modules/hotdoc.py @@ -406,8 +406,7 @@ class HotDocModule(ExtensionModule): from hotdoc.run_hotdoc import run # noqa: F401 self.hotdoc.run_hotdoc = run except Exception as e: - raise MesonException('hotdoc {} required but not found. ({})'.format( - MIN_HOTDOC_VERSION, e)) + raise MesonException(f'hotdoc {MIN_HOTDOC_VERSION} required but not found. ({e})') self.methods.update({ 'has_extensions': self.has_extensions, 'generate_doc': self.generate_doc, |