test suite reviews and discussions
 help / color / mirror / Atom feed
* [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle
@ 2022-04-27  7:41 Juraj Linkeš
  2022-04-27  7:41 ` [PATCH v1 2/2] python: fix shebangs Juraj Linkeš
  2022-04-28  3:15 ` [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle Dong, JunX
  0 siblings, 2 replies; 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-04-28  3:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27  7:41 [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle Juraj Linkeš
2022-04-27  7:41 ` [PATCH v1 2/2] python: fix shebangs Juraj Linkeš
2022-04-28  3:15 ` [PATCH v1 1/2] stats_reporter: properly use iterable in for cycle 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).