aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/users.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-06-25 22:24:03 +0300
committerBerker Peksag <berker.peksag@gmail.com>2015-06-25 22:24:50 +0300
commitcc92922386937d9f416e9166ac1e672a0f775b53 (patch)
tree497461a64de6a3a47e1bae24da6d27614c490fc7 /mediagoblin/gmg_commands/users.py
parent2c1b0dc3e34ff3095ea249df840a21e11fadaaf7 (diff)
downloadmediagoblin-cc92922386937d9f416e9166ac1e672a0f775b53.tar.lz
mediagoblin-cc92922386937d9f416e9166ac1e672a0f775b53.tar.xz
mediagoblin-cc92922386937d9f416e9166ac1e672a0f775b53.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.py2
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:")