summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-12-10 03:17:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-12-10 03:17:33 +0900
commitd8a0bcfd77832357f7db43e072a7ff783dffd369 (patch)
tree39026b2248893d1ba624d397d8a67919a77e2e25
parent87421ff560028d9b37ed6749a0c7e3da579a8793 (diff)
downloadsystemd-d8a0bcfd77832357f7db43e072a7ff783dffd369.tar.gz
tree-wide: drop header for emacs from python scripts
-rwxr-xr-xhwdb/parse_hwdb.py3
-rwxr-xr-xsrc/test/test-systemd-tmpfiles.py10
-rwxr-xr-xtools/catalog-report.py1
-rw-r--r--tools/gdb-sd_dump_hashmaps.py1
-rwxr-xr-xtools/make-directive-index.py1
-rwxr-xr-xtools/make-man-index.py1
-rwxr-xr-xtools/make-man-rules.py3
-rwxr-xr-xtools/xml_helper.py3
8 files changed, 8 insertions, 15 deletions
diff --git a/hwdb/parse_hwdb.py b/hwdb/parse_hwdb.py
index 89efc28925..d84fba2221 100755
--- a/hwdb/parse_hwdb.py
+++ b/hwdb/parse_hwdb.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
-# SPDX-License-Identifier: MIT
+# SPDX-License-Identifier: MIT
#
# This file is distributed under the MIT license, see below.
#
diff --git a/src/test/test-systemd-tmpfiles.py b/src/test/test-systemd-tmpfiles.py
index 28dadd0c5b..83a66e8772 100755
--- a/src/test/test-systemd-tmpfiles.py
+++ b/src/test/test-systemd-tmpfiles.py
@@ -1,10 +1,10 @@
#!/usr/bin/env python3
-# SPDX-License-Identifier: LGPL-2.1+
+# SPDX-License-Identifier: LGPL-2.1+
#
-# 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 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.
import os
import sys
diff --git a/tools/catalog-report.py b/tools/catalog-report.py
index b65869d02b..ca1e13df9a 100755
--- a/tools/catalog-report.py
+++ b/tools/catalog-report.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# SPDX-License-Identifier: MIT
#
# This file is distributed under the MIT license, see below.
diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py
index 0701d139e2..4e8593f320 100644
--- a/tools/gdb-sd_dump_hashmaps.py
+++ b/tools/gdb-sd_dump_hashmaps.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# SPDX-License-Identifier: LGPL-2.1+
from __future__ import print_function
diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index 8b85ef40f3..8703c8a37b 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# SPDX-License-Identifier: LGPL-2.1+
import sys
diff --git a/tools/make-man-index.py b/tools/make-man-index.py
index 7ed98cb4e0..66027af02e 100755
--- a/tools/make-man-index.py
+++ b/tools/make-man-index.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# SPDX-License-Identifier: LGPL-2.1+
import collections
diff --git a/tools/make-man-rules.py b/tools/make-man-rules.py
index 42a48bc98c..c4551c6f61 100755
--- a/tools/make-man-rules.py
+++ b/tools/make-man-rules.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
-# SPDX-License-Identifier: LGPL-2.1+
+# SPDX-License-Identifier: LGPL-2.1+
from __future__ import print_function
import collections
diff --git a/tools/xml_helper.py b/tools/xml_helper.py
index 19e343b4e3..f399e7493c 100755
--- a/tools/xml_helper.py
+++ b/tools/xml_helper.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
-# SPDX-License-Identifier: LGPL-2.1+
+# SPDX-License-Identifier: LGPL-2.1+
from lxml import etree as tree