Refactor a lot of the proto stuff.

This commit is contained in:
David Given
2024-10-08 23:18:30 +02:00
parent a777470cda
commit 27ab1e3e5a
17 changed files with 257 additions and 78 deletions

View File

@@ -30,7 +30,7 @@ def collectattrs(*, targets, name, initial=[]):
s = set(initial)
for a in [t.args.get(name, []) for t in targets]:
s.update(a)
return sorted(list(s))
return sorted(s)
def itemsof(pattern, root=None, cwd=None):