mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
tools: adjust re.match to recent gpt.h additions
with addition of SD_ID128_MAKE_UUID_STR entries to src/shared/gpt.h the tool failed halfway due to falsly matching the new entries
This commit is contained in:
parent
e99ca14741
commit
5fa87e9651
|
@ -142,7 +142,7 @@ DESCRIPTIONS = {
|
|||
def extract(file):
|
||||
for line in file:
|
||||
# print(line)
|
||||
m = re.match(r'^#define\s+GPT_(.*SD_ID128_MAKE.*)', line)
|
||||
m = re.match(r'^#define\s+GPT_(.*SD_ID128_MAKE\(.*\))', line)
|
||||
if not m:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue