diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-11-19 11:13:56 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-19 14:28:32 +0100 |
commit | 07f91d28e718f6f636fa2feb0441774b220a87dd (patch) | |
tree | e4eb4cf49662d1c7dcc8251f59c9b1ec86e8d2da | |
parent | 2ff176636328834df5ea6e8cb1e214fdbef116da (diff) | |
download | gemato-07f91d28e718f6f636fa2feb0441774b220a87dd.tar.gz |
recursiveloader: Fix adding top-level Manifest ignores to all Manifests
-rw-r--r-- | gemato/recursiveloader.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gemato/recursiveloader.py b/gemato/recursiveloader.py index 270b6ce..728f8fc 100644 --- a/gemato/recursiveloader.py +++ b/gemato/recursiveloader.py @@ -150,7 +150,8 @@ class ManifestRecursiveLoader(object): # add initial IGNORE entries for ip in (self.profile - .get_ignore_paths_for_new_manifest('')): + .get_ignore_paths_for_new_manifest( + os.path.dirname(relpath))): ie = gemato.manifest.ManifestEntryIGNORE(ip) m.entries.append(ie) else: @@ -978,11 +979,6 @@ class ManifestRecursiveLoader(object): mpath, 0, {}) new_entries.append(fe) - for ip in (self.profile - .get_ignore_paths_for_new_manifest(relpath)): - ie = gemato.manifest.ManifestEntryIGNORE(ip) - m.entries.append(ie) - if new_entries: mpath, mdirpath, m = manifest_stack[-1] for fe in new_entries: |