[gnome-continuous-yocto/gnomeostree-3.28-rocko: 911/8267] bitbake: toaster: toastergui tests Use new BeautifulSoup syntax



commit 0a7bd539fac4458152eade25cf920793e68f9a8c
Author: Michael Wood <michael g wood intel com>
Date:   Fri Jun 10 11:45:48 2016 +0100

    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>

 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 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]