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

Unified Diff: trychange.py

Issue 6721029: Fix locale.getlocale() exception. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/trychange_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trychange.py
diff --git a/trychange.py b/trychange.py
index fb5e935c3e99e6d2ab5a743b00a74725d1314ac2..a848c5b24c85e5cc5e59ea10fb589028cc6cbcd9 100755
--- a/trychange.py
+++ b/trychange.py
@@ -39,6 +39,7 @@ try:
except ImportError:
gcl = None
+import fix_encoding
import gclient_utils
import scm
@@ -769,4 +770,5 @@ def TryChange(argv,
if __name__ == "__main__":
+ fix_encoding.fix_encoding()
sys.exit(TryChange(None, [], False))
« no previous file with comments | « tests/trychange_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698