mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 05:04:46 +02:00
layerindex/views.py: fix parse_view typo
The Branch Comparison view would throw an error because of a parser_view instead of parse_view typo. [YOCTO #15332] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
This commit is contained in:
parent
bd5c0512ff
commit
a03b314bc1
|
@ -1791,7 +1791,7 @@ class BranchCompareView(FormView):
|
|||
for _, recipe in sorted(recipes.items(), key=lambda item: item[0]):
|
||||
recipe.from_versions = sorted(recipe.from_versions, key=lambda item: parse_version(item.pv))
|
||||
from_version_exprs = [x.version_expr() for x in recipe.from_versions]
|
||||
recipe.to_versions = sorted(recipe.to_versions, key=lambda item: parser_version(item.pv))
|
||||
recipe.to_versions = sorted(recipe.to_versions, key=lambda item: parse_version(item.pv))
|
||||
to_version_exprs = [x.version_expr() for x in recipe.to_versions]
|
||||
if not from_version_exprs:
|
||||
added.append(recipe)
|
||||
|
|
Loading…
Reference in New Issue
Block a user