DescriptionConvert old-style exception handling to current format in fix_encoding.py.
With this change, fix_encoding can be imported in python3.
fix_encoding.fix_encoding() returns False because, at least on my Ubuntu 14.04
system running python 3.4.3;
sys.getdefaultencoding() == 'utf-8'
The Windows specific code hasn't been tested on python3 and is expected to
require fixes.
R=vapier@chromium.org
BUG=61357
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298834
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|