* [PATCH] toaster: toastergui tests Use new BeautifulSoup syntax
@ 2016-06-10 10:47 Michael Wood
0 siblings, 0 replies; only message in thread
From: Michael Wood @ 2016-06-10 10:47 UTC (permalink / raw)
To: toaster
Fix deprecation warning specify the parser used for creating the
BeautifulSoup object.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
---
bitbake/lib/toaster/toastergui/tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py
index 2cd2c7d..da530a1 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"
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-10 10:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10 10:47 [PATCH] toaster: toastergui tests Use new BeautifulSoup syntax Michael Wood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.