mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 08:55:18 +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
(cherry picked from commit 5fa87e9651
)
This commit is contained in:
parent
7f28c0f3f3
commit
5a322fd54b
@ -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 New Issue
Block a user