X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=tools%2Fmake-directive-index.py;h=fb2b0b7c6fde6c8e4bfeb21f600fbb0f77547467;hb=f680ce835d6978b7ec402e013bd93bddd00b4b27;hp=8ce09ca2fa078a988ceb68eb87552fc86dfa56b7;hpb=b95f5528cc7e84327966308ea8e29d5920048cda;p=thirdparty%2Fsystemd.git diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py index 8ce09ca2fa0..fb2b0b7c6fd 100755 --- a/tools/make-directive-index.py +++ b/tools/make-directive-index.py @@ -1,5 +1,6 @@ -#!/usr/bin/python3 +#!/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. # @@ -21,7 +22,7 @@ import sys import collections import re -from xml_helper import * +from xml_helper import xml_parse, xml_print, tree from copy import deepcopy TEMPLATE = '''\