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)
committerMike Gilbert <floppym@gentoo.org>
Thu, 21 Mar 2019 20:08:15 +0000 (16:08 -0400)
commit5602954e8ffc485ef78f7a0c3415137a824a7fb2
tree7ba29675260fb3e616246a1a37992863049aed21
parent2986daf9bf2626efe6ff1d62f9713dad6cb82dae
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 https://github.com/systemd/systemd/issues/12021
ids_parser.py