From: Michael Wood <michael.g.wood@intel.com>
To: toaster@yoctoproject.org
Subject: [PATCH] toaster: toastergui tests Use new BeautifulSoup syntax
Date: Fri, 10 Jun 2016 11:47:20 +0100 [thread overview]
Message-ID: <1465555640-8431-1-git-send-email-michael.g.wood@intel.com> (raw)
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
reply other threads:[~2016-06-10 10:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465555640-8431-1-git-send-email-michael.g.wood@intel.com \
--to=michael.g.wood@intel.com \
--cc=toaster@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.