From 08181a95191f00f2069758625512ada2788646e2 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Thu, 2 Oct 2014 15:15:08 -0400 Subject: [PATCH] 4042: expand list fix --- crunch_scripts/run-command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crunch_scripts/run-command b/crunch_scripts/run-command index 9c30f41537..40fb7128b2 100755 --- a/crunch_scripts/run-command +++ b/crunch_scripts/run-command @@ -96,7 +96,7 @@ def expand_item(p, c): items = get_items(p, p[var]) params = copy.copy(p) params[var] = items[int(c["index"])] - r.extend(expand_list(params, c["command"])) + return expand_list(params, c["command"]) elif isinstance(c, list): return expand_list(p, c) elif isinstance(c, str) or isinstance(c, unicode): -- 2.30.2