From cde67ca521a7e4b282df306451d64ddd5fbf2f99 Mon Sep 17 00:00:00 2001 From: "Kevin A. Tactac" <150723597+ktactac-ornl@users.noreply.github.com> Date: Wed, 23 Oct 2024 10:09:16 -0400 Subject: [PATCH] child loop to .values() Co-authored-by: Pete Peterson --- src/mantidprofiler/diskrecord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mantidprofiler/diskrecord.py b/src/mantidprofiler/diskrecord.py index 644cf9b..a35fbeb 100644 --- a/src/mantidprofiler/diskrecord.py +++ b/src/mantidprofiler/diskrecord.py @@ -79,7 +79,7 @@ def monitor(pid: int, logfile: Path, interval: Optional[float], show_bytes: bool # get information from children update_children(children, all_children(process)) - for key, child in children.items(): + for child in children.values(): try: child_disk_after = child["process"].io_counters()