diff options
Diffstat (limited to 'write-repositories-xml.py')
-rwxr-xr-x | write-repositories-xml.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/write-repositories-xml.py b/write-repositories-xml.py index 184c040..8db3a08 100755 --- a/write-repositories-xml.py +++ b/write-repositories-xml.py @@ -103,14 +103,15 @@ for overlay in overlays: if 'quality' not in overlay.attrib: overlay.attrib['quality'] = 'experimental' + # Add note on file being a generated one + overlay.insert(0, ET.Comment('NOTE: This file is generated, do not edit.')) + # Transform 'overlays' tag overlays.tag = 'repositories' # Extend by format version overlays.attrib['version'] = '1.0' -# Add note on file being a generated one -overlays.insert(0, ET.Comment('NOTE: This file is generated, do not edit directly.')) recurse_print(overlays) |