From cecd749ce9a44258ce2f321bbb2ad0b7b3efb074 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 2 Jan 2023 15:45:34 +0100 Subject: [PATCH] cases.ProcessList: Beautify _row_name() Signed-off-by: Jan Lindemann --- src/python/devtest/os/test/cases/ProcessList.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/devtest/os/test/cases/ProcessList.py b/src/python/devtest/os/test/cases/ProcessList.py index a435499..cd52739 100644 --- a/src/python/devtest/os/test/cases/ProcessList.py +++ b/src/python/devtest/os/test/cases/ProcessList.py @@ -4,6 +4,9 @@ from ..ListCmd import ListCmd class ProcessList(ListCmd): # export + def _row_name(self, row): + return '{}@{}'.format(row['user'], row['cmd']) + # Override as needed. def _row_info(self): return (