hwdb: make ids_parser.py compatible with pyparsing-2.3.0+
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 21 Mar 2019 16:11:31 +0000 (17:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Mar 2019 19:10:57 +0000 (20:10 +0100)
commit2615de9d7927e4cbba515e39255f370e626d4d66
tree8446af0393529a05f04f7d428a7044340ff296c4
parente947830460645ceab5574a55c1f251300dbcdc70
hwdb: make ids_parser.py compatible with pyparsing-2.3.0+

https://github.com/pyparsing/pyparsing/blob/master/CHANGES#L175
says something about fixing erroneously created levels in the hierarchy.
I don't have the faintest idea what this means, but with the change in
this patch we generate output that is unchanged from pre-2.3.0 versions.

Tested with python3-pyparsing-2.3.1-1.fc30.noarch and
python3-pyparsing-2.2.0-3.fc29.noarch.

Fixes #12021.
hwdb/ids_parser.py