Merge pull request #860 from Draiken/fix_rabbitmq_user_empty_tags

Fixing empty tags check on rabbitmq_user
This commit is contained in:
Brian Coca 2015-08-24 13:54:40 -04:00
commit a89ab55867

View file

@ -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(',')