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 05BEDA0510; Wed, 27 Apr 2022 09:41:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4FDE427F5; Wed, 27 Apr 2022 09:41:56 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 3DE314113F for ; Wed, 27 Apr 2022 09:41:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 677D31C81D7; Wed, 27 Apr 2022 09:41:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mlvJVk0pqjBq; Wed, 27 Apr 2022 09:41:52 +0200 (CEST) Received: from entguard.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 8D1C11C81C2; Wed, 27 Apr 2022 09:41:52 +0200 (CEST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: junx.dong@intel.com, lijuan.tu@intel.com, ohilyard@iol.unh.edu Cc: dts@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle Date: Wed, 27 Apr 2022 07:41:51 +0000 Message-Id: <20220427074152.4144881-1-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Signed-off-by: Juraj Linkeš --- framework/stats_reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/stats_reporter.py b/framework/stats_reporter.py index 80ac942c..1c1ab3fd 100644 --- a/framework/stats_reporter.py +++ b/framework/stats_reporter.py @@ -70,7 +70,7 @@ class StatsReporter(object): "dpdk_version = {}\n".format(self.result.current_dpdk_version(duts[0])) ) else: - for dut in duts(): + for dut in duts: dpdk_version = self.result.current_dpdk_version(dut) self.stats_file.write( "{}.dpdk_version = {}\n".format(dut, dpdk_version) -- 2.20.1