mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
output: Don't add @generated notice to subtemplates
There's already a notice at the top of the file, it doesn't need to be in subtemplates. Fixes #158.
This commit is contained in:
parent
988e69ab25
commit
c502dee36b
4 changed files with 1 additions and 21 deletions
|
@ -375,7 +375,7 @@ class XmlOutput(OutputFormat):
|
|||
xml.end_tag()
|
||||
|
||||
elif isinstance(extension, ExtListItemFactory):
|
||||
child_xml = XmlEmitter()
|
||||
child_xml = XmlEmitter(generated_notice=False)
|
||||
child_xml.start_tag("interface")
|
||||
child_xml.start_tag("template", **{"class": extension.gir_class})
|
||||
self._emit_object_or_template(extension, child_xml)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue