mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-07 10:27:42 +00:00
support/gen-manual-lists.py: bail out early for legacy symbols
When searching for virtual package providers, there's no need to handle legacy symbols at all, so just bail out early. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Samuel Martin <s.martin49@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
34363f0df1
commit
1c4498082b
@ -389,13 +389,13 @@ class Buildroot:
|
|||||||
for sym in self.config:
|
for sym in self.config:
|
||||||
if not sym.is_symbol():
|
if not sym.is_symbol():
|
||||||
continue
|
continue
|
||||||
|
if _symbol_is_legacy(sym):
|
||||||
|
continue
|
||||||
selects = sym.get_selected_symbols()
|
selects = sym.get_selected_symbols()
|
||||||
if not selects:
|
if not selects:
|
||||||
continue
|
continue
|
||||||
for s in selects:
|
for s in selects:
|
||||||
if s == symbol:
|
if s == symbol:
|
||||||
if _symbol_is_legacy(sym):
|
|
||||||
continue
|
|
||||||
if sym.prompts:
|
if sym.prompts:
|
||||||
l = self._get_symbol_label(sym,False)
|
l = self._get_symbol_label(sym,False)
|
||||||
parent_pkg = _get_parent_package(sym)
|
parent_pkg = _get_parent_package(sym)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user