diff options
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r-- | morphlib/builder2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py index 43ae48c4..2dca738c 100644 --- a/morphlib/builder2.py +++ b/morphlib/builder2.py @@ -448,11 +448,13 @@ class ChunkBuilder(BuilderBase): while path != '': yield path path = os.path.dirname(path) + def parentify(filenames): names = set() for name in filenames: names.update(all_parents(name)) return sorted(names) + parented_paths = \ parentify(file_paths + ['baserock/%s.meta' % chunk_artifact_name]) |