From: Vladimír Vondruš Date: Sun, 4 Nov 2018 10:14:26 +0000 (+0100) Subject: doxygen: properly fill error message placeholder. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=9cca33c3bdf7ccf2068e99f44016e6882089294d;p=blog.git doxygen: properly fill error message placeholder. --- diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 961b99e5..d572eeb1 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -1085,7 +1085,7 @@ def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET. with open(i.attrib['name'], 'r') as f: source = f.read() else: - logging.warning("{}: file passed to @dotfile was not found, rendering an empty graph") + logging.warning("{}: file passed to @dotfile was not found, rendering an empty graph".format(state.current)) source = 'digraph "" {}' caption = i.text else: