It's already been converted to a list

This commit is contained in:
Colton Myers 2015-04-17 14:20:28 -06:00 committed by rallytime
parent dd57f2d1c1
commit a3f529e003

View File

@ -79,9 +79,8 @@ class RosterMatcher(object):
Return minions that match via list
'''
minions = []
targets = self.tgt.split(',')
for minion in self.raw:
if minion in targets:
if minion in self.tgt:
data = self.get_data(minion)
if data:
minions[minion] = data