Skip to content

Commit

Permalink
hwdb: make sure "ninja update-hwdb" works on f35
Browse files Browse the repository at this point in the history
let's restore compatibility with pyparsing from fedora 35, i.e.:

python3-pyparsing-2.4.7-9.fc35.noarch
  • Loading branch information
poettering committed Apr 28, 2022
1 parent 98045d1 commit 133a000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwdb.d/ids_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
EMPTYLINE = LineEnd()
text_eol = lambda name: Regex(r'[^\n]+')(name) + EOL

ParserElement.set_default_whitespace_chars(' \n')
ParserElement.setDefaultWhitespaceChars(' \n')

def klass_grammar():
klass_line = Literal('C ').suppress() + NUM2('klass') + text_eol('text')
Expand Down

0 comments on commit 133a000

Please sign in to comment.