mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
any() takes list oy tuple.
This commit is contained in:
parent
8917416d39
commit
01c99ad767
1 changed files with 1 additions and 1 deletions
|
@ -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\' '
|
||||
|
|
Loading…
Add table
Reference in a new issue