bundlewrap/nodes.py

8 lines
174 B
Python
Raw Normal View History

2020-02-23 10:13:45 +00:00
from os.path import join
from pathlib import Path
nodes = {}
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
with open(node, 'r') as f:
exec(f.read())