diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-06-07 16:37:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:06 +0100 |
commit | 6eefd9c1e509ca29397421d5f6e0199dc5b2d384 (patch) | |
tree | 6f13b4406427d61796bb08b7fa883982990c778a /bitbake/lib/toaster/toastergui/widgets.py | |
parent | 79a3954afc6101012e1185806c70f566700475e0 (diff) | |
download | poky-6eefd9c1e509ca29397421d5f6e0199dc5b2d384.tar.gz |
bitbake: toaster: fix broken reference to urllib
The code previously imported urllib to make use of querystring
quoting, but was modified to support Python 3. During this
process, the reference to urllib was not fixed, which resulted
in table filters breaking.
Remove the reference to urllib (which is no longer imported)
and instead reference the imported unquote_plus() function.
(Bitbake rev: f66ee686d4e3002a4a38a7424bcc605a6df9db0b)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py index 4276c2aabf..005a5620db 100644 --- a/bitbake/lib/toaster/toastergui/widgets.py +++ b/bitbake/lib/toaster/toastergui/widgets.py | |||
@@ -219,7 +219,7 @@ class ToasterTable(TemplateView): | |||
219 | 219 | ||
220 | try: | 220 | try: |
221 | filter_name, action_name = filters.split(':') | 221 | filter_name, action_name = filters.split(':') |
222 | action_params = urllib.unquote_plus(filter_value) | 222 | action_params = unquote_plus(filter_value) |
223 | except ValueError: | 223 | except ValueError: |
224 | return | 224 | return |
225 | 225 | ||