[1.6.x] Fixed #21627 -- Added unicode_literals to changepassword command.

Fixed a crash when executing changepassword command when the user object
representation contained non-ASCII characters.

Backport of 398642fd9b from master
This commit is contained in:
Jon Lønne 2013-12-18 20:04:53 +01:00 committed by Tim Graham
parent b536ad09ca
commit 0e8138349e
3 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,5 @@
from __future__ import unicode_literals
import getpass
from optparse import make_option