Merge pull request #860 from Draiken/fix_rabbitmq_user_empty_tags
Fixing empty tags check on rabbitmq_user
This commit is contained in:
commit
a89ab55867
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class RabbitMqUser(object):
|
|||
self.username = username
|
||||
self.password = password
|
||||
self.node = node
|
||||
if tags is None:
|
||||
if not tags:
|
||||
self.tags = list()
|
||||
else:
|
||||
self.tags = tags.split(',')
|
||||
|
|
Loading…
Reference in a new issue