diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-06-10 11:45:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:06 +0100 |
commit | 0a7bd539fac4458152eade25cf920793e68f9a8c (patch) | |
tree | 96320df37fc29745bc8666298715a26882ed8515 /bitbake/lib | |
parent | eba5321786c4e673164e26995aca503a4f875910 (diff) | |
download | poky-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/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tests.py | 2 |
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): | |||
380 | if "<" not in td: | 380 | if "<" not in td: |
381 | ret = td | 381 | ret = td |
382 | else: | 382 | else: |
383 | ret = BeautifulSoup(td).text | 383 | ret = BeautifulSoup(td, "html.parser").text |
384 | 384 | ||
385 | if len(ret): | 385 | if len(ret): |
386 | return "0" | 386 | return "0" |