Fixing issuer where roles were not added correctly to user.

This commit is contained in:
kevgliss 2015-10-26 10:59:20 -07:00
parent 4b968a9474
commit 0453afcb0e
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ class CreateUser(Command):
Option('-u', '--username', dest='username', required=True),
Option('-e', '--email', dest='email', required=True),
Option('-a', '--active', dest='active', default=True),
Option('-r', '--roles', dest='roles', default=[])
Option('-r', '--roles', dest='roles', action='append', default=[])
)
def run(self, username, email, active, roles):