From 2b35c146eb4f26c5e5d64f639822b82512eded65 Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Mon, 27 Apr 2015 13:09:17 -0300 Subject: [PATCH] avocado.utils.process: Remove unneeded parenthesis Signed-off-by: Lucas Meneghel Rodrigues --- avocado/utils/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avocado/utils/process.py b/avocado/utils/process.py index 53f0caa1..c73a549c 100644 --- a/avocado/utils/process.py +++ b/avocado/utils/process.py @@ -145,7 +145,7 @@ def get_children_pids(ppid): param ppid: parent PID return: list of PIDs of all children/threads of ppid """ - return (system_output("ps -L --ppid=%d -o lwp" % ppid).split('\n')[1:]) + return system_output("ps -L --ppid=%d -o lwp" % ppid).split('\n')[1:] class CmdResult(object): -- GitLab