diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-08 12:26:12 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-10 15:31:12 +0100 |
commit | fb5eb1d7759222573565936a964d602c148df139 (patch) | |
tree | 41e23009dd68e677689dde430a6ab9c3ecdfb5d2 /lib/toaster/toastergui/widgets.py | |
parent | d3edea773000a663f5883e04f477d853bff64cf6 (diff) | |
download | bitbake-contrib-fb5eb1d7759222573565936a964d602c148df139.tar.gz |
toaster: eliminate duplicate querysets
The Layer_Version.get_equivalents_wpriority performs the same
function as Project.compatible_layerversions, but in memory and
with worse performance.
Replace the code in get_equivalents_wpriority with a call to
the project compatible_layerversions, which also returns a queryset
instead of a list (can be used to further enhance queries)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/widgets.py')
0 files changed, 0 insertions, 0 deletions