summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-10 17:06:54 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:04 +0100
commitcf454d74a88592a4e0981780f30eee60c508d783 (patch)
tree8e8065786b22a81ba3d39d9078ec6b3dc0ba75f0 /bitbake/lib/toaster/toastermain
parentd393fe6cff773561353e4f6d721210be09a77289 (diff)
downloadpoky-cf454d74a88592a4e0981780f30eee60c508d783.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: 7cc3a41139abc5b8d1eef4376fb19aba3910ce0d) 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/toastermain')
0 files changed, 0 insertions, 0 deletions