chiark / gitweb /
doxygen: properly fill error message placeholder.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 4 Nov 2018 10:14:26 +0000 (11:14 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 4 Nov 2018 12:00:03 +0000 (13:00 +0100)
doxygen/dox2html5.py

index 961b99e52eead795c7a0f5e0290a439a07e04cef..d572eeb19895dac8d7844c41914e37a321c6765f 100755 (executable)
@@ -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: