summaryrefslogtreecommitdiff
path: root/make-man-index.py
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-13 04:05:28 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-13 04:06:11 +0200
commit6b91ae13f2b0792a21603861672594ed9bb9cd41 (patch)
tree78e7e20906dedc25ebae68bed05d107be6d4d134 /make-man-index.py
parent8d7e170a5230753d8406276f8b5598e5bb6766e6 (diff)
python: change license to LGPL 2.1
The original license has been MIT for this code, but David Strauss (its original author) agreed to relicense it to LGPL 2.1 for inclusion in systemd.
Diffstat (limited to 'make-man-index.py')
-rwxr-xr-xmake-man-index.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/make-man-index.py b/make-man-index.py
index 8789d995e..56f38ce41 100755
--- a/make-man-index.py
+++ b/make-man-index.py
@@ -1,4 +1,22 @@
#!/usr/bin/env python
+# -*- Mode: python; indent-tabs-mode: nil -*- */
+#
+# This file is part of systemd.
+#
+# Copyright 2012 Lennart Poettering
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
from xml.etree.ElementTree import parse, Element, SubElement, tostring
from sys import argv, stdout