commit a3766ac13c37703a188196388cdbc4d8a5b1276c
parent b23c15e9272054845a019b1a486ea8c677cdee87
Author: Florian Quèze <florian@queze.net>
Date: Tue, 21 Oct 2025 06:04:13 +0000
Bug 1995352 - fix the 'not enough values to unpack' warning from resourcemonitor.py, r=sergesanspaille.
Differential Revision: https://phabricator.services.mozilla.com/D269283
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py b/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py
@@ -265,9 +265,11 @@ def _collect(pipe, poll_interval):
and not arg.startswith("-L")
]
)
- pipe.send(("process", pid, create_time, end_time, cmdline, ppid, None))
+ pipe.send(
+ ("process", pid, create_time, end_time, cmdline, ppid, None, None)
+ )
- pipe.send(("done", None, None, None, None, None, None))
+ pipe.send(("done", None, None, None, None, None, None, None))
pipe.close()
sys.exit(0)