[{"id":1951132,"web_url":"http://patchwork.ozlabs.org/comment/1951132/","msgid":"<CAPnjgZ2_0mzJ2LVf9vuz1=K1iZP4NxnyYGqpXHG_-d=WpCCPmA@mail.gmail.com>","list_archive_url":null,"date":"2018-07-10T20:57:01","subject":"Re: [U-Boot] [PATCH v2 1/8] test/py: Make print statements python\n\t3.x safe","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 print must be called as a function rather than used as a\n> statement. Update uses of print to the function call syntax in order to\n> be python 3.x safe.\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/conftest.py               |  2 +-\n>  test/py/test.py                   |  6 ++++--\n>  test/py/tests/test_fit.py         | 12 +++++++-----\n>  test/py/u_boot_console_sandbox.py |  2 +-\n>  test/py/u_boot_spawn.py           |  2 +-\n>  5 files changed, 14 insertions(+), 10 deletions(-)\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=\"i4Dlmq/5\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"B+Vqe55a\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41QF1s32lYz9s0W\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 11 Jul 2018 06:59:29 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 28B43C21E34; Tue, 10 Jul 2018 20:57:47 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BE1ACC21E02;\n\tTue, 10 Jul 2018 20:57:25 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 29D2CC21C29; Tue, 10 Jul 2018 20:57:24 +0000 (UTC)","from mail-oi0-f65.google.com (mail-oi0-f65.google.com\n\t[209.85.218.65])\n\tby lists.denx.de (Postfix) with ESMTPS id 732EAC21C29\n\tfor <u-boot@lists.denx.de>; Tue, 10 Jul 2018 20:57:23 +0000 (UTC)","by mail-oi0-f65.google.com with SMTP id v8-v6so45326117oie.5\n\tfor <u-boot@lists.denx.de>; Tue, 10 Jul 2018 13:57:23 -0700 (PDT)","by 2002:ac9:3c0c:0:0:0:0:0 with HTTP; Tue, 10 Jul 2018 13:57:01\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=LthXnvmRl2C+90m8wTigYoz6KXWOwkNrsTmY5D6nCgY=;\n\tb=i4Dlmq/5MimvKPjuMFK1kiFZu4u9WtQ95cSXoZOyV0sd4ZKLEhxpbOkXzCsAQvFhBj\n\t+brYoz394bMgDo7dq/Ax3tHAqFb+8WW+1zxkRhcmM4/Vh8Vx08V/5/1OkVsogSdPGV1N\n\tPXP2ahdQYATzoSWxTh3wth+5xZ8+QdwTAPS4i69ooco42R3Z87QB/mTkaDjAVVzLYj6k\n\tKA7PyqlwaAXVYTeZ43ryPyXzT2PJBRIyJW7lC+zjORliZbdgcvNfboykDTXE5ydFivJi\n\tiDXD+Hh/PWVTfhn7RveDudJ2g0fRiFyPUjRUHwIH4lqXMgHRKVSXCacVKovH73aPsuy7\n\t5+1w==","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=LthXnvmRl2C+90m8wTigYoz6KXWOwkNrsTmY5D6nCgY=;\n\tb=B+Vqe55aZ/3SfGeD+QXNT/Tdm1ar4bHeQdI2hHKpeXn+ysDTaabeTRyso1X/thbuQK\n\tdJg5DATai/yDpWFoqMoX7TprbAOU8n/rMUwgXqP4VYAhBl5L+BzR17pZnHt+f3ksMxxq\n\tL2kwvwZbz+gD9cUFgou96y0dBpZDy43KEX/C0="],"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=LthXnvmRl2C+90m8wTigYoz6KXWOwkNrsTmY5D6nCgY=;\n\tb=LwDavYh7tynqDaSLq7QipZf99PBcTATnguTChC1z0zyatD+mCVeu6uockKG4v/ENsg\n\tZCHJW1TZItJLVVY83K2OSnoao3AfsTQF6ci6JB5Lt/T+iNr2vJBLTW+l/yuocPgu85yx\n\t2xLCBKcqsVzmQO8F42AoqFM4KHJl0N3ZaNrAnO53eRyzlR7AuJDxEvUW3/udkhSxQn6d\n\tbK/7ladKgmR4rD8W2NqnaAT0/+K4GeMDCM/UStnfyU+gCfdgr4Y7GCh14b3/cYQ/Glv4\n\taRcT32Z7LvWmKVRfcEvOiTQZ33dqLY7ebCmwjr1jfAZA4yEom3bZxh8Qp5UzWDE/GyYS\n\tiWMg==","X-Gm-Message-State":"APt69E32lbL0e3Bcy62fZl/8L0Z8/BkwA3Lsuz+1262aGN3ZxLEWleKs\n\tKTSK/ZJ0GY4c04/nG9g0p3AE8/uhVj2iH7+OFy1q9e8l","X-Google-Smtp-Source":"AAOMgpcxXOEei0L9W6sWEQZ/iDY2zHrCh3uQMu2hBu0PqIfNARhhq2Gmk9ZNU3jrTXziQkyJex4Avfydgn/kbGwh050=","X-Received":"by 2002:aca:5155:: with SMTP id\n\tf82-v6mr30853261oib.272.1531256241901; \n\tTue, 10 Jul 2018 13:57:21 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170914213450.28754-2-paul.burton@imgtec.com>","References":"<20170914213450.28754-1-paul.burton@imgtec.com>\n\t<20170914213450.28754-2-paul.burton@imgtec.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 10 Jul 2018 14:57:01 -0600","X-Google-Sender-Auth":"lkwKWDapFroTgi3CuvFPWSr1aCg","Message-ID":"<CAPnjgZ2_0mzJ2LVf9vuz1=K1iZP4NxnyYGqpXHG_-d=WpCCPmA@mail.gmail.com>","To":"Paul Burton <paul.burton@imgtec.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>, Stephen Warren\n\t<swarren@nvidia.com>, =?utf-8?q?Stefan_Br=C3=BCns?=\n\t<stefan.bruens@rwth-aachen.de>","Subject":"Re: [U-Boot] [PATCH v2 1/8] test/py: Make print statements python\n\t3.x safe","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>"}}]