2020-02-29 12:30:51 +00:00
|
|
|
from os.path import join
|
|
|
|
from pathlib import Path
|
|
|
|
|
2022-02-07 05:57:58 +00:00
|
|
|
from bundlewrap.utils import error_context
|
|
|
|
|
2020-02-29 12:30:51 +00:00
|
|
|
groups = {}
|
|
|
|
for group in Path(join(repo_path, "groups")).rglob("*.py"):
|
2022-02-07 05:57:58 +00:00
|
|
|
with error_context(filename=str(group)):
|
|
|
|
with open(group, 'r') as f:
|
|
|
|
exec(f.read())
|