* [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle
@ 2022-05-05 6:47 lijuan.tu
0 siblings, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-05-05 6:47 UTC (permalink / raw)
To: junx.dong, lijuan.tu, ohilyard
Juraj =?utf-8?q?Linkeš?= <juraj.linkes@pantheon.tech>
Reply-To: Juraj =?utf-8?q?Linkeš?= <juraj.linkes@pantheon.tech>
Cc: dts@dpdk.org, Juraj =?utf-8?q?Linkeš?= <juraj.linkes@pantheon.tech>
In-Reply-To: <20220427074152.4144881-1-juraj.linkes@pantheon.tech>
On Wed, 27 Apr 2022 07:41:51 +0000, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech> wrote:
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle
2022-04-27 7:41 Juraj Linkeš
@ 2022-04-28 3:15 ` Dong, JunX
0 siblings, 0 replies; 3+ messages in thread
From: Dong, JunX @ 2022-04-28 3:15 UTC (permalink / raw)
To: Juraj Linkeš, dts; +Cc: Tu, Lijuan, ohilyard
Acked-by: Jun Dong <junx.dong@intel.com>
> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: Wednesday, April 27, 2022 3:42 PM
> To: Dong, JunX <junx.dong@intel.com>; Tu, Lijuan <lijuan.tu@intel.com>;
> ohilyard@iol.unh.edu
> Cc: dts@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>
> Subject: [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle
>
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle
@ 2022-04-27 7:41 Juraj Linkeš
2022-04-28 3:15 ` Dong, JunX
0 siblings, 1 reply; 3+ messages in thread
From: Juraj Linkeš @ 2022-04-27 7:41 UTC (permalink / raw)
To: junx.dong, lijuan.tu, ohilyard; +Cc: dts, Juraj Linkeš
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-06 9:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 6:47 [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle lijuan.tu
-- strict thread matches above, loose matches on Subject: below --
2022-04-27 7:41 Juraj Linkeš
2022-04-28 3:15 ` Dong, JunX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).