From d08787e05e6e7efafb8257f50e7510933cdc141f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Tue, 7 Jul 2015 11:28:17 -0500 Subject: [PATCH] rrs/tools/rrs_unique_recipes.py: Also filter -source recipes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aníbal Limón --- rrs/tools/rrs_unique_recipes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrs/tools/rrs_unique_recipes.py b/rrs/tools/rrs_unique_recipes.py index bcabd41..a0dc771 100755 --- a/rrs/tools/rrs_unique_recipes.py +++ b/rrs/tools/rrs_unique_recipes.py @@ -49,7 +49,7 @@ if __name__=="__main__": # remove native, nativesdk cross and initial recipes logger.info('Starting remove of recipes with preffix or suffix ...') - words = ['nativesdk-', '-native', '-cross', '-initial'] + words = ['nativesdk-', '-native', '-cross', '-initial', '-source'] for layerbranch in LayerBranch.objects.all(): for recipe in Recipe.objects.filter(layerbranch=layerbranch): match = any(w in recipe.pn for w in words)