bundlewrap/groups.py

8 lines
178 B
Python
Raw Normal View History

2020-02-29 12:30:51 +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())