Fix typo causing SyntaxError (missing colon)
This commit is contained in:
parent
465d0483eb
commit
bc5d5b1be1
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class RabbitMqUser(object):
|
||||||
def add(self):
|
def add(self):
|
||||||
if self.password is not None:
|
if self.password is not None:
|
||||||
self._exec(['add_user', self.username, self.password])
|
self._exec(['add_user', self.username, self.password])
|
||||||
else
|
else:
|
||||||
self._exec(['add_user', self.username, ''])
|
self._exec(['add_user', self.username, ''])
|
||||||
self._exec(['clear_password', self.username])
|
self._exec(['clear_password', self.username])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue