Fixing issue where --static option fails with ValueError Fixes #24776

This commit is contained in:
Nitin Madhok 2015-06-18 05:06:08 -04:00
parent 99af7695e3
commit a34b74a70c

View File

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