fix list for mask

This commit is contained in:
David Boucha 2015-05-06 21:54:51 +00:00
parent ee7b579e90
commit 6890439d58

View File

@ -132,7 +132,7 @@ def beacon(config):
if isinstance(mask, list):
r_mask = 0
for sub in mask:
r_mask |= _get_mask(mask)
r_mask |= _get_mask(sub)
elif isinstance(mask, salt.ext.six.binary_type):
r_mask = _get_mask(mask)
else: