mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
79a3954afc
commit
6eefd9c1e5
@@ -219,7 +219,7 @@ class ToasterTable(TemplateView):
|
||||
|
||||
try:
|
||||
filter_name, action_name = filters.split(':')
|
||||
action_params = urllib.unquote_plus(filter_value)
|
||||
action_params = unquote_plus(filter_value)
|
||||
except ValueError:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user