Skip to content

Commit

Permalink
Merge pull request #24524 from jayeshka/rabbitmq_vhost_states-module
Browse files Browse the repository at this point in the history
any() takes list oy tuple.
  • Loading branch information
Nicole Thomas committed Jun 9, 2015
2 parents dd23de8 + 01c99ad commit 3728b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/states/rabbitmq_vhost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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\' '
Expand Down

0 comments on commit 3728b3f

Please sign in to comment.