diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-06-25 22:24:03 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-06-25 22:24:03 +0300 |
commit | 896d00fbf22f5701f811bb4cea28b01cbb618ee1 (patch) | |
tree | a2d64574555eb94be623c426ee0c965bb959f648 /mediagoblin/gmg_commands/users.py | |
parent | a17845d42e838981784732c790119804fc7fd2b0 (diff) | |
download | mediagoblin-896d00fbf22f5701f811bb4cea28b01cbb618ee1.tar.lz mediagoblin-896d00fbf22f5701f811bb4cea28b01cbb618ee1.tar.xz mediagoblin-896d00fbf22f5701f811bb4cea28b01cbb618ee1.zip |
Change all unicode() calls with six.text_type().
Fixes #5329.
Diffstat (limited to 'mediagoblin/gmg_commands/users.py')
-rw-r--r-- | mediagoblin/gmg_commands/users.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/users.py b/mediagoblin/gmg_commands/users.py index 158a1a2d..ad22c169 100644 --- a/mediagoblin/gmg_commands/users.py +++ b/mediagoblin/gmg_commands/users.py @@ -38,7 +38,7 @@ def adduser(args): #TODO: Lets trust admins this do not validate Emails :) commands_util.setup_app(args) - args.username = unicode(commands_util.prompt_if_not_set(args.username, "Username:")) + args.username = six.text_type(commands_util.prompt_if_not_set(args.username, "Username:")) args.password = commands_util.prompt_if_not_set(args.password, "Password:",True) args.email = commands_util.prompt_if_not_set(args.email, "Email:") |