chiark / gitweb /
Prep v236 : Add missing SPDX-License-Identifier (9/9) tools
authorSven Eden <yamakuzure@gmx.net>
Tue, 13 Mar 2018 18:20:00 +0000 (19:20 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 26 Mar 2018 16:26:00 +0000 (18:26 +0200)
tools/gdb-sd_dump_hashmaps.py
tools/make-directive-index.py
tools/make-man-index.py
tools/make-man-rules.py
tools/xml_helper.py

index 4835f5e8675357ce7a853e871289dfea832254a6..db9fd2d3a8961f61939060b19da34d57d5755ae9 100644 (file)
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
+# SPDX-License-Identifier: LGPL-2.1+
 #
 #  This file is part of elogind.
 #
index 06ef8f781567fdcf47a7aa674fda6dcfca150c3d..8a1dfed0b409997164bea0caabcefe18f598ebfd 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
+# SPDX-License-Identifier: LGPL-2.1+
 #
 #  This file is part of elogind.
 #
index 9c08f510eeb34227cd78af437c904001cc87ddfe..efbe177b87e705b49d68f1ca8dab4413cf4e6bb8 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
+# SPDX-License-Identifier: LGPL-2.1+
 #
 #  This file is part of elogind.
 #
index e0f18d6fbee941801f0050f6210bde4dbb544ae0..444d4a6ee4518a9c55d543d803e1a003f2c040e1 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
+#  SPDX-License-Identifier: LGPL-2.1+
 #
 #  This file is part of systemd.
 #
index 0088be5bd9e50d4997a668850bace36cb57947fe..47434c7156ddfe26dc79dc8a39634757e99eae82 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
+#  SPDX-License-Identifier: LGPL-2.1+
 #
 #  This file is part of systemd.
 #
@@ -27,9 +28,11 @@ class CustomResolver(tree.Resolver):
 
 _parser = tree.XMLParser()
 _parser.resolvers.add(CustomResolver())
+
 def xml_parse(page):
     doc = tree.parse(page, _parser)
     doc.xinclude()
     return doc
+
 def xml_print(xml):
     return tree.tostring(xml, pretty_print=True, encoding='utf-8')