Fix typo causing SyntaxError (missing colon)

pull/18777/head
Toshio Kuratomi 10 years ago committed by Matt Clay
parent 465d0483eb
commit bc5d5b1be1

@ -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…
Cancel
Save