diff options
Diffstat (limited to 'hwdb/parse_hwdb.py')
-rwxr-xr-x | hwdb/parse_hwdb.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hwdb/parse_hwdb.py b/hwdb/parse_hwdb.py index 4900a25778..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. # @@ -30,8 +29,7 @@ import sys 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, |