bundlewrap/groups.py

8 lines
178 B
Python
Raw Normal View History

2021-11-26 18:45:23 +00:00
from os.path import join
from pathlib import Path
groups = {}
for group in Path(join(repo_path, "groups")).rglob("*.py"):
with open(group, 'r') as f:
exec(f.read())