summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2009-09-27 23:04:48 +0200
committerSebastian Pipping <sebastian@pipping.org>2009-09-27 23:05:08 +0200
commit5365485a08e357776ad009307979c85de823502a (patch)
treeadb4cd8243d62effe70c767aaaaafdc5b461186a
parentAdd Sabayon feed URI (diff)
downloadrepositories-xml-format-5365485a08e357776ad009307979c85de823502a.tar.gz
repositories-xml-format-5365485a08e357776ad009307979c85de823502a.tar.bz2
repositories-xml-format-5365485a08e357776ad009307979c85de823502a.zip
Add note on file being a generated one
-rwxr-xr-xlayman-parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/layman-parser.py b/layman-parser.py
index 66e915c..e698af5 100755
--- a/layman-parser.py
+++ b/layman-parser.py
@@ -127,6 +127,9 @@ 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)
indent(overlays)