Don't return sets, cast to lists

This commit is contained in:
Thomas S Hatch 2013-11-27 09:49:15 -07:00
parent 6ca9ba805a
commit b6f1ddc9cc

View File

@ -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'))