mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 03:49:32 +02:00
bitbake: bitbake: providers: consistent single line formatting between functions
(Bitbake rev: e8c74ac8e589ee44d862b71fd63dd75ab303d3b5) Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
04bb096170
commit
70f90dcfd7
@@ -48,7 +48,6 @@ def findProviders(cfgData, dataCache, pkg_pn = None):
|
|||||||
|
|
||||||
return (latest_versions, preferred_versions)
|
return (latest_versions, preferred_versions)
|
||||||
|
|
||||||
|
|
||||||
def allProviders(dataCache):
|
def allProviders(dataCache):
|
||||||
"""
|
"""
|
||||||
Find all providers for each pn
|
Find all providers for each pn
|
||||||
@@ -59,7 +58,6 @@ def allProviders(dataCache):
|
|||||||
all_providers[pn].append((ver, fn))
|
all_providers[pn].append((ver, fn))
|
||||||
return all_providers
|
return all_providers
|
||||||
|
|
||||||
|
|
||||||
def sortPriorities(pn, dataCache, pkg_pn = None):
|
def sortPriorities(pn, dataCache, pkg_pn = None):
|
||||||
"""
|
"""
|
||||||
Reorder pkg_pn by file priority and default preference
|
Reorder pkg_pn by file priority and default preference
|
||||||
@@ -189,7 +187,6 @@ def findLatestProvider(pn, cfgData, dataCache, file_set):
|
|||||||
|
|
||||||
return (latest, latest_f)
|
return (latest, latest_f)
|
||||||
|
|
||||||
|
|
||||||
def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
|
def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
|
||||||
"""
|
"""
|
||||||
If there is a PREFERRED_VERSION, find the highest-priority bbfile
|
If there is a PREFERRED_VERSION, find the highest-priority bbfile
|
||||||
@@ -209,7 +206,6 @@ def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
|
|||||||
|
|
||||||
return (latest, latest_f, preferred_ver, preferred_file)
|
return (latest, latest_f, preferred_ver, preferred_file)
|
||||||
|
|
||||||
|
|
||||||
def _filterProviders(providers, item, cfgData, dataCache):
|
def _filterProviders(providers, item, cfgData, dataCache):
|
||||||
"""
|
"""
|
||||||
Take a list of providers and filter/reorder according to the
|
Take a list of providers and filter/reorder according to the
|
||||||
@@ -265,7 +261,6 @@ def _filterProviders(providers, item, cfgData, dataCache):
|
|||||||
|
|
||||||
return eligible
|
return eligible
|
||||||
|
|
||||||
|
|
||||||
def filterProviders(providers, item, cfgData, dataCache):
|
def filterProviders(providers, item, cfgData, dataCache):
|
||||||
"""
|
"""
|
||||||
Take a list of providers and filter/reorder according to the
|
Take a list of providers and filter/reorder according to the
|
||||||
@@ -387,7 +382,6 @@ def getRuntimeProviders(dataCache, rdepend):
|
|||||||
|
|
||||||
return rproviders
|
return rproviders
|
||||||
|
|
||||||
|
|
||||||
def buildWorldTargetList(dataCache, task=None):
|
def buildWorldTargetList(dataCache, task=None):
|
||||||
"""
|
"""
|
||||||
Build package list for "bitbake world"
|
Build package list for "bitbake world"
|
||||||
|
|||||||
Reference in New Issue
Block a user