Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: client/third_party/depot_tools/fix_encoding.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """Collection of functions and classes to fix various encoding problems on 5 """Collection of functions and classes to fix various encoding problems on
6 multiple platforms with python. 6 multiple platforms with python.
7 """ 7 """
8 8
9 import codecs 9 import codecs
10 import locale 10 import locale
11 import os 11 import os
12 import sys 12 import sys
13 13
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 if sys.platform == 'win32': 362 if sys.platform == 'win32':
363 ret &= fix_win_codec() 363 ret &= fix_win_codec()
364 364
365 ret &= fix_default_encoding() 365 ret &= fix_default_encoding()
366 366
367 if sys.platform == 'win32': 367 if sys.platform == 'win32':
368 encoding = sys.getdefaultencoding() 368 encoding = sys.getdefaultencoding()
369 ret &= fix_win_sys_argv(encoding) 369 ret &= fix_win_sys_argv(encoding)
370 ret &= fix_win_console(encoding) 370 ret &= fix_win_console(encoding)
371 return ret 371 return ret
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698