mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user