aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/hotdoc.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-07-08 00:06:10 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-10-04 16:29:32 -0400
commitd06cc042eb21bc16a4a5cc957a3615e5e3a9743a (patch)
tree0907391e3581d707770584f3416a87c0cea18f77 /mesonbuild/modules/hotdoc.py
parent47ae0b82f0483960fa7a3eabc68700b982688834 (diff)
downloadmeson-d06cc042eb21bc16a4a5cc957a3615e5e3a9743a.zip
meson-d06cc042eb21bc16a4a5cc957a3615e5e3a9743a.tar.gz
meson-d06cc042eb21bc16a4a5cc957a3615e5e3a9743a.tar.bz2
f-strings
Diffstat (limited to 'mesonbuild/modules/hotdoc.py')
-rw-r--r--mesonbuild/modules/hotdoc.py3
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,