diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-10 17:06:54 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:42 +0100 |
commit | 5582444b10418bef14ff274a2470a9050d7a7e17 (patch) | |
tree | 8d248999bd347aab0ac7494eafecd68205bc20c4 /bitbake/lib/toaster/toastergui/templates/configvars.html | |
parent | 473daf72545421ee2df40278efda7d3999a5d356 (diff) | |
download | poky-5582444b10418bef14ff274a2470a9050d7a7e17.tar.gz |
bitbake: toaster: use re.sub() instead of translate()
translate has different set of parameters in python 3 and
can't be used the way it's used in toaster api module.
Replacing it with re.sub() should make the code work in
both python 2 and python 3.
[YOCTO #9584]
(Bitbake rev: 019ac4792f388f3313812c1998492888be8b97cd)
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/templates/configvars.html')
0 files changed, 0 insertions, 0 deletions