use `group()`

Authored by: bashonly
This commit is contained in:
bashonly 2024-05-11 17:12:06 -05:00
parent 7dbecac075
commit 0c4d6e5427
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def main():
def yield_deps(group):
for dep in group:
if mobj := recursive_pattern.fullmatch(dep):
yield from optional_groups.get(mobj['group_name'], [])
yield from optional_groups.get(mobj.group('group_name'), [])
else:
yield dep