bundlewrap/nodes.py

10 lines
240 B
Python
Raw Normal View History

2021-11-26 18:45:23 +00:00
from json import dumps as json_dumps
from os.path import join
from pathlib import Path
from bundlewrap.metadata import atomic
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
with open(node, 'r') as f:
exec(f.read())