mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-10 00:58:20 +03: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…
x
Reference in New Issue
Block a user