aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-06-10 11:45:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:06 +0100
commit0a7bd539fac4458152eade25cf920793e68f9a8c (patch)
tree96320df37fc29745bc8666298715a26882ed8515 /bitbake
parenteba5321786c4e673164e26995aca503a4f875910 (diff)
downloadopenembedded-core-contrib-0a7bd539fac4458152eade25cf920793e68f9a8c.tar.gz
bitbake: toaster: toastergui tests Use new BeautifulSoup syntax
Fix deprecation warning specify the parser used for creating the BeautifulSoup object. (Bitbake rev: d34546e88881e89588206877ebaea506cda4f6c2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py
index 2cd2c7d163..da530a10e5 100644
--- a/bitbake/lib/toaster/toastergui/tests.py
+++ b/bitbake/lib/toaster/toastergui/tests.py
@@ -380,7 +380,7 @@ class ViewTests(TestCase):
if "<" not in td:
ret = td
else:
- ret = BeautifulSoup(td).text
+ ret = BeautifulSoup(td, "html.parser").text
if len(ret):
return "0"