Backporting PR #24777 to 2014.7 branch

This commit is contained in:
Nitin Madhok 2015-06-18 05:14:25 -04:00
parent 59db24602f
commit c53b0d9a22

View File

@ -170,7 +170,8 @@ class Batch(object):
parts[minion]['ret'] = {}
for minion, data in parts.items():
active.remove(minion)
if minion in active:
active.remove(minion)
if self.opts.get('raw'):
yield data
else: