Merge pull request #130 from kevgliss/createUser

Fixing issue where roles were not added correctly to user.
This commit is contained in:
kevgliss 2015-10-26 11:58:36 -07:00
commit 0f34440b64

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):