summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/widgets.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-08 12:26:12 +0100
committerAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-10 15:31:12 +0100
commitfb5eb1d7759222573565936a964d602c148df139 (patch)
tree41e23009dd68e677689dde430a6ab9c3ecdfb5d2 /lib/toaster/toastergui/widgets.py
parentd3edea773000a663f5883e04f477d853bff64cf6 (diff)
downloadbitbake-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