patchupdate.py: Autodepends should ignore disabled patchsets.

This commit is contained in:
Sebastian Lackner 2016-02-09 22:48:52 +01:00
parent 98d77c786f
commit 72f80a6c3c

View File

@ -271,6 +271,10 @@ def load_patchsets():
categories[category] = set()
categories[category].add(i)
# Filter autodepends on disabled patchsets
for i, patch in all_patches.iteritems():
patch.auto_depends = set([j for j in patch.auto_depends if not all_patches[j].disabled])
# Add virtual targets for all the categories
for category, indices in categories.iteritems():
patch = PatchSet(category, directory)