[gnome-continuous-yocto/gnomeostree-3.28-rocko: 896/8267] bitbake: toaster: fix typo which prevents filters from working
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 896/8267] bitbake: toaster: fix typo which prevents filters from working
- Date: Sat, 16 Dec 2017 21:04:07 +0000 (UTC)
commit de3984ccdb4fc404e35f6f0ed149816b888411bd
Author: Elliot Smith <elliot smith intel com>
Date: Tue Jun 7 16:29:35 2016 +0100
bitbake: toaster: fix typo which prevents filters from working
'k' was replaced by 'key' at some point but not fixed in the
body of the loop. This caused a failure when the the query
was constructed for a filtered queryset, due to the variable
not being defined.
(Bitbake rev: 37fb9a364e645baadda30cc74a18baa565f39857)
Signed-off-by: Elliot Smith <elliot smith intel com>
Signed-off-by: Michael Wood <michael g wood intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
bitbake/lib/toaster/toastergui/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 1f908ea..d58aff0 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -268,7 +268,7 @@ def _get_filtering_query(filter_string):
or_values = kv[1].split(OR_VALUE_SEPARATOR)
query = None
for key, val in zip(or_keys, or_values):
- x = __get_q_for_val(k, val)
+ x = __get_q_for_val(key, val)
query = query | x if query else x
and_query = and_query & query if and_query else query
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]