diff options
Diffstat (limited to 'udev/parse_hwdb.py')
-rwxr-xr-x | udev/parse_hwdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/parse_hwdb.py b/udev/parse_hwdb.py index 102ef6c8..d079be20 100755 --- a/udev/parse_hwdb.py +++ b/udev/parse_hwdb.py @@ -102,10 +102,10 @@ def property_grammar(): size_props = [Literal(name)('NAME') - Suppress('=') - val('VALUE') for name, val in sz_props] - reliability_tags = (Literal("reliable")) + reliability_tags = Or(('reliable', 'write_open')) reliability = [Literal('LIBINPUT_ATTR_LID_SWITCH_RELIABILITY')('NAME') - Suppress('=') - - Group(OneOrMore(reliability_tags))('VALUE')] + reliability_tags('VALUE')] grammar = Or(model_props + size_props + reliability) |