mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs/views.py: RecipeList always use recipe from Recipe upgrades.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
887737027c
commit
c64ec37699
|
@ -117,10 +117,6 @@ def _get_recipe_list(milestone):
|
|||
recipe_list = []
|
||||
current_date = date.today()
|
||||
for recipe in Recipe.objects.filter().order_by('pn'):
|
||||
if current_date >= milestone.start_date and \
|
||||
current_date <= milestone.end_date:
|
||||
version = recipe.pv
|
||||
else:
|
||||
rup = RecipeUpgrade.get_by_recipe_and_date(recipe,
|
||||
milestone.end_date)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user