[{"id":1951135,"web_url":"http://patchwork.ozlabs.org/comment/1951135/","msgid":"<CAPnjgZ0gKMDVFQq8Tejk3AsXxNgTATiwscD9diN2dm_2hBBu3A@mail.gmail.com>","list_archive_url":null,"date":"2018-07-10T20:57:08","subject":"Re: [U-Boot] [PATCH v2 7/8] test/py: hush_if_test: Use open() in\n\tplace of file()","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 14 September 2017 at 15:34, Paul Burton <paul.burton@imgtec.com> wrote:\n> In python 3.x the file() function has been removed. Use open() instead,\n> which works on both python 2.x & 3.x, and is described as the preferred\n> method of opening a file by python 2.x documentation anyway.\n>\n> Signed-off-by: Paul Burton <paul.burton@imgtec.com>\n> Reviewed-by: Stephen Warren <swarren@nvidia.com>\n> ---\n>\n> Changes in v2: None\n>\n>  test/py/tests/test_hush_if_test.py | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n\nApplied to u-boot-dm, thanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org; dmarc=fail (p=none dis=none)\n\theader.from=chromium.org","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"NwnOjI35\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"kUW1MgkA\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41QF3v5tHxz9s2L\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 11 Jul 2018 07:01:15 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 1672BC21E08; Tue, 10 Jul 2018 20:58:54 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B81FFC21E31;\n\tTue, 10 Jul 2018 20:58:06 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 3DFC7C21DF3; Tue, 10 Jul 2018 20:57:34 +0000 (UTC)","from mail-oi0-f67.google.com (mail-oi0-f67.google.com\n\t[209.85.218.67])\n\tby lists.denx.de (Postfix) with ESMTPS id 5DA92C21E45\n\tfor <u-boot@lists.denx.de>; Tue, 10 Jul 2018 20:57:30 +0000 (UTC)","by mail-oi0-f67.google.com with SMTP id b15-v6so45269648oib.10\n\tfor <u-boot@lists.denx.de>; Tue, 10 Jul 2018 13:57:30 -0700 (PDT)","by 2002:ac9:3c0c:0:0:0:0:0 with HTTP; Tue, 10 Jul 2018 13:57:08\n\t-0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=glrL/MwUfnJGjnYyMJ2RFbf1AEjizrEhhQ3KfS7aqZc=;\n\tb=NwnOjI356t/V50WR8QhLcMDCfUMusa0rYqWoYpYvc33LjtOMG6WkzYPlVNnisjlgYu\n\tnA/Eu4dfxF6MzX3UhVG979pC0BNu2mwjf1Z7D8e3vAXHCuWbGkKYebOQq7Wiblcdno4i\n\tt0rXuCXOVYDbdkb9nBJwgjt1mW3WnBnxm/83c5P/EubhHnpOPJPFat9UovVmHYRq7Ncm\n\tj/GVw+IubeH1qchUu4aSC9iTmSYK2GoObxA4EFS3AJOuPCCpwgGAltWij/8jGBRyUd03\n\tFT5eCQISTAZ5vykZReLY5kF7SE4xXWGIWCPYRU3Ql5JiSCUZUC24QZ79XTUhz+H1h+1W\n\t755A==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=glrL/MwUfnJGjnYyMJ2RFbf1AEjizrEhhQ3KfS7aqZc=;\n\tb=kUW1MgkAZ96Xaq5+Qdis9zLyno9A3MWCbLCDE7Y7+iLXXE20NY8KRExie/YZq1SDcr\n\tiKXdzfrUmp1Oo8UN7vAXgMmIqv1NTlBIbFHcqvpdHCTwGFlhuyOuSLpPO0dKUIUfGO0h\n\tL5K9LvwQPoLWs8CXces8Ix2CDr41mg5fHE05o="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=glrL/MwUfnJGjnYyMJ2RFbf1AEjizrEhhQ3KfS7aqZc=;\n\tb=ptAzklB3bJTlZoDd3x8iUeplVf/N/14BtVx5rQav+4RyGBmvc6bwHEw2UEpPTFB9Zw\n\t/u0PTY++Ocuuc9JuACRnNaM2xekGL2I63kRLluV6/vZUPsCsuDIdB1qjY9JvryNIl4gt\n\tP/yTsITQhtXAhXGGcGEvMlrbzzQqE+xKGZlVKNLGaXK8UR+OFGYayCnio9RUhVGlGmb6\n\tKqdsbT50T4E0TDoyCGoHpr0KZNqDtISEbLoM26LZknyqoWJqXWBDu+ESC5Hm5S0Vsf5D\n\t/goxX9y66uwVhZmHp5kYdBuRaFXS9ignFJafD9n1XMo20lTPGwgKQmIrkK2A+/jjktKR\n\tIM6w==","X-Gm-Message-State":"APt69E1xIUAoSZSa4td263lqL4oV22bcr/w3u/bm0yqm0R8Z+GYEEzzS\n\t/mlfjM0/6ZduwwrAMABVezWPjcFTI/F2rhEMpoBnmg==","X-Google-Smtp-Source":"AAOMgpfqGd728r0mfOwFXPBPRYWbhA0RkjkT7zTHsv6ZXg6XBo/JL8G46nPCqpBpmUclBRrAsG8QNJD5fb8+xbKCjnU=","X-Received":"by 2002:aca:ce85:: with SMTP id\n\te127-v6mr2387886oig.169.1531256248882; \n\tTue, 10 Jul 2018 13:57:28 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170914213450.28754-8-paul.burton@imgtec.com>","References":"<20170914213450.28754-1-paul.burton@imgtec.com>\n\t<20170914213450.28754-8-paul.burton@imgtec.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 10 Jul 2018 14:57:08 -0600","X-Google-Sender-Auth":"x83_MJJE7i0xlp37-F9Kq9tr5cc","Message-ID":"<CAPnjgZ0gKMDVFQq8Tejk3AsXxNgTATiwscD9diN2dm_2hBBu3A@mail.gmail.com>","To":"Paul Burton <paul.burton@imgtec.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>,\n\tStephen Warren <swarren@nvidia.com>,\n\tMichal Simek <michal.simek@xilinx.com>","Subject":"Re: [U-Boot] [PATCH v2 7/8] test/py: hush_if_test: Use open() in\n\tplace of file()","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]