mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs: Recipes don't display if don't exit in Milestone
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
446220e8c9
commit
c0a62bf06f
|
@ -137,12 +137,12 @@ class RecipeListView(ListView):
|
||||||
current_date <= milestone.end_date:
|
current_date <= milestone.end_date:
|
||||||
version = recipe.pv
|
version = recipe.pv
|
||||||
else:
|
else:
|
||||||
version = ''
|
|
||||||
|
|
||||||
rup = RecipeUpgrade.get_by_recipe_and_date(recipe,
|
rup = RecipeUpgrade.get_by_recipe_and_date(recipe,
|
||||||
milestone.end_date)
|
milestone.end_date)
|
||||||
|
|
||||||
if not rup is None:
|
if rup is None: # Recipe don't exit in this Milestone
|
||||||
|
continue
|
||||||
|
|
||||||
version = rup.version
|
version = rup.version
|
||||||
|
|
||||||
recipe_upstream = RecipeUpstream.get_by_recipe_and_history(
|
recipe_upstream = RecipeUpstream.get_by_recipe_and_history(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user