mirror of
https://github.com/systemd/systemd
synced 2024-07-23 19:25:39 +00:00
Revert "parse_hwdb: enforce the ":*" suffix"
This reverts commit ad2d8e61ee
.
This commit is contained in:
parent
3a7771c9c4
commit
a21ac934a1
|
@ -202,9 +202,8 @@ def check_matches(groups):
|
|||
except ParseBaseException as e:
|
||||
error('Pattern {!r} is invalid: {}', rest, e)
|
||||
continue
|
||||
|
||||
if not rest.endswith(':*'):
|
||||
error("pattern {!r} does not end with ':*'", match)
|
||||
if rest[-1] not in '*:':
|
||||
error('pattern {} does not end with "*" or ":"', match)
|
||||
|
||||
matches.sort()
|
||||
prev = None
|
||||
|
|
Loading…
Reference in a new issue