]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - hwdb/parse_hwdb.py
man: fix markup and grammar for FOU{Source,Destination}Port=
[thirdparty/systemd.git] / hwdb / parse_hwdb.py
index c6cbacb60a67e57a854e9fd5271d29f437a136f8..d84fba2221ade7a8ac3049a16a9224636ed18dca 100755 (executable)
@@ -1,11 +1,8 @@
 #!/usr/bin/env python3
 #!/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.
 #
 #
 # This file is distributed under the MIT license, see below.
 #
-# Copyright © 2016 Zbigniew Jędrzejewski-Szmek
-#
 # The MIT License (MIT)
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # The MIT License (MIT)
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -32,8 +29,7 @@ import sys
 import os
 
 try:
 import os
 
 try:
-    from pyparsing import (Word, White, Literal, ParserElement, Regex,
-                           LineStart, LineEnd,
+    from pyparsing import (Word, White, Literal, ParserElement, Regex, LineEnd,
                            OneOrMore, Combine, Or, Optional, Suppress, Group,
                            nums, alphanums, printables,
                            stringEnd, pythonStyleComment, QuotedString,
                            OneOrMore, Combine, Or, Optional, Suppress, Group,
                            nums, alphanums, printables,
                            stringEnd, pythonStyleComment, QuotedString,