From b6f1ddc9cc6d6d078cb6195f55c4bf8174f589f3 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Wed, 27 Nov 2013 09:49:15 -0700 Subject: [PATCH] Don't return sets, cast to lists --- salt/returners/redis_return.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/returners/redis_return.py b/salt/returners/redis_return.py index 1f21ecf4a8..0e26b08a0b 100644 --- a/salt/returners/redis_return.py +++ b/salt/returners/redis_return.py @@ -108,7 +108,7 @@ def get_jids(): Return a list of all job ids ''' serv = _get_serv() - return serv.smembers('jids') + return list(serv.smembers('jids')) def get_minions(): @@ -116,4 +116,4 @@ def get_minions(): Return a list of minions ''' serv = _get_serv() - return serv.smembers('minions') + return list(serv.smembers('minions'))