From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 851F7A04AE; Tue, 8 Feb 2022 13:03:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59625410FD; Tue, 8 Feb 2022 13:03:27 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 998A3410FC for ; Tue, 8 Feb 2022 13:03:25 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D5C005C010D; Tue, 8 Feb 2022 07:03:24 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 08 Feb 2022 07:03:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=aa2IGydggDPF1z fFqFsisglsN4H/2OhBO44hNIg8c6Y=; b=P9m7u+sZiKDKIDizlcLXEFY2L8moCv 4YqEcAXv/TsrzGdIV5gXla2NMc4AEeXmoKGvh9PKi7w052Acf8xbmCUvPoSx53fc Ja/uwI+BHFFi5oS1kwGAM4Og/5IOZMzHPaMQUj5xfcqsM8Aas13asFGPg07e5rnY 71elRP082wmZBa7Ge3gGiP+bND2vNJfwPigshi/Y4XDpq2IXYDoNXn0o0Bfwqvo9 L626Isknz8491yRhbJ8C7iQ924+d91BAgdyR2XD/BOGJJQ2EiFDO17ALDAMiNR+c syASLz2FAMa9mcr1TK94TeU9qaO1Dn0senuMPR5NUd8v58/bYcU2WTYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=aa2IGydggDPF1zfFqFsisglsN4H/2OhBO44hNIg8c 6Y=; b=axeaaMAxVvJPLtCvJlLeqL5utrHiIUuoa+QkVGzTFwjgV3QCCyrNToLGT qG/8QWpNcsYZc3SS9Tz416aHIZy6NAEyhJLbkzt+WAysY0v5Pu8jNLHhqXMTSjQN m8FAhhB7d7RaHgbn0Xo5VXXoNVKL/ACo5fwwZi/F5XLOBSUOlmXCnCJCYI2zL4g5 1iwwsLmbWAe9ULNHijhXKQj6K0XPiIRI+lE15eIjUXMu46e9vpS/ISfKQEwH2QDp kgNwMnFfiQhVz1qg+LZtTnJA+kk2p4St3A2K0sP5A3cjyuCdG1bMUy0nxUwFdNPH V7jndV5XcWEBv5VSQEUsxYbbt4fvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheejgdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Feb 2022 07:03:23 -0500 (EST) From: Thomas Monjalon To: Jie Zhou Cc: dev@dpdk.org, dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, roretzla@microsoft.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, pallavi.kadam@intel.com, talshn@nvidia.com, aconole@redhat.com Subject: Re: [PATCH v15 10/11] app/test: replace .sh script with .py script Date: Tue, 08 Feb 2022 13:03:21 +0100 Message-ID: <10028404.nUPlyArG6x@thomas> In-Reply-To: <1643173844-27341-11-git-send-email-jizh@linux.microsoft.com> References: <1638990000-3228-1-git-send-email-jizh@linux.microsoft.com> <1643173844-27341-1-git-send-email-jizh@linux.microsoft.com> <1643173844-27341-11-git-send-email-jizh@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 26/01/2022 06:10, Jie Zhou: > + try: > + with open("/proc/sys/vm/nr_hugepages") as file_o: > + content = file_o.read() > + print(content) > + except: > + print("0") flake8 says this line is over-indented, I will fix. There is another warning that I won't fix: app/test/has_hugepage.py:14:5: E722 do not use bare 'except'