any() takes list oy tuple.

This commit is contained in:
Jayesh Kariya 2015-06-09 18:12:53 +05:30
parent 8917416d39
commit 01c99ad767

View file

@ -81,7 +81,7 @@ def present(name,
'information or see #6961.'
)
if any(user, owner, conf, write, read):
if any((user, owner, conf, write, read)):
salt.utils.warn_until(
'Beryllium',
'Passed \'owner\', \'user\', \'conf\', \'write\' or \'read\' '