From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 850C6E00D17; Fri, 10 Jun 2016 03:47:29 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.172 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D7DF2E00CC7 for ; Fri, 10 Jun 2016 03:47:28 -0700 (PDT) Received: by mail-pf0-f172.google.com with SMTP id c2so22669707pfa.2 for ; Fri, 10 Jun 2016 03:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=eCEwT+xYU/LhqKpVfwJPUqnn1FGWUa+81/8c41s9BBw=; b=sUqo36jTMK2ixjTVwqTmtrd1Iuy38ltnFAnaeLqS8vYuKyilfx2lcNizk/T140iGDH pz8pc9RnKf+vBEVUcr2jemoL2eq0fEyncbl+yyA77GAY20RPiEpE0e3pZ5qbpX7voLj0 FjOllyGyITMYzasHqCMOcLIdvAu8QbhZN+RDpYx9LweWiJa2aUfS1ihXRMhwlgmhC7rr PePQQD06uAaI84vmaL6cgqPEJMDqGf2swhKFHTsezKSyr7+cDhRLa4wpjIZNTPj/3YYu RHxWsYJVrmcAqQVGUfOZSVHJBQRWlhr7Vlf7WzlUEgWc/eceJ1ldSJhgVK+FPCxCMtdp L9ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eCEwT+xYU/LhqKpVfwJPUqnn1FGWUa+81/8c41s9BBw=; b=Tq6r7/khXXilo7atH0LhVh8rhx/emDKR0jy+BEUEKkwtlD8oS8BkH/xcAWDGXIPsWZ H/IbiiP4DMsK+Tb5ybpqpFyiYw1on6LJXExs00sPIs7hxSI5yBh38+mEUOEj2UH7D5to ZWTSVSl281uGB4A5r07ksH2j5kXqvnpSJvP1GUBsAkeb8xKd3eI0OqgaW1Cer07eZYj5 LR7uRzFb00VIyvySZFpiq1N9moobsGUcTSUYxr36SqbEYx5fcGXexGLDlXaMko2mOocz IAPAdzKuiBUxFluffQTPi/ch+8XepGT/xi/CccMDaGqHuSv3Dc57p2nK6yQe7Da5ZrXx 7TlQ== X-Gm-Message-State: ALyK8tKXz2zZq1s4kNmGvqR5AK6quqj4zUyvh1y6Pa6fzGqDtOciZzy+m3Nlfei/3TIbfdEc X-Received: by 10.98.5.133 with SMTP id 127mr1633211pff.110.1465555647640; Fri, 10 Jun 2016 03:47:27 -0700 (PDT) Received: from orion.ger.corp.intel.com (fmdmzpr03-ext.fm.intel.com. [192.55.54.38]) by smtp.gmail.com with ESMTPSA id hk7sm16728810pad.25.2016.06.10.03.47.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jun 2016 03:47:26 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Fri, 10 Jun 2016 11:47:20 +0100 Message-Id: <1465555640-8431-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH] toaster: toastergui tests Use new BeautifulSoup syntax X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2016 10:47:29 -0000 Fix deprecation warning specify the parser used for creating the BeautifulSoup object. Signed-off-by: Michael Wood --- 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