From 62bda1271171a68ea46ce6e39d61acba9d6c58f9 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Fri, 24 Feb 2012 14:55:49 -0800 Subject: [PATCH] misc: always return a usable result from get_valgrind_args --- teuthology/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/misc.py b/teuthology/misc.py index 9bb8c698e2d68..a09e609b58dfa 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -484,7 +484,7 @@ def deep_merge(a, b): def get_valgrind_args(name, v): if v is None: - return None + return [] if not isinstance(v, list): v = [v] val_path = '/tmp/cephtest/archive/log/valgrind' -- 2.39.5