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

Unified Diff: client/tools/parallel_execution.py

Issue 2093593002: luci-py: Making __file__ usage unicode safe. (Closed) Base URL: https://github.com/luci/luci-py.git@master
Patch Set: Small fixes. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/tools/isolateserver_load_test.py ('k') | client/tools/run_on_bots.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tools/parallel_execution.py
diff --git a/client/tools/parallel_execution.py b/client/tools/parallel_execution.py
index ae454666e7132f6ed79c80947e34ab95c2b72d4a..706d54c0a09eae9dae11a7fa6077e5f71a8b371d 100644
--- a/client/tools/parallel_execution.py
+++ b/client/tools/parallel_execution.py
@@ -13,7 +13,8 @@ import sys
import tempfile
import time
-BASE_DIR = os.path.dirname(os.path.abspath(__file__))
+BASE_DIR = os.path.dirname(os.path.abspath(
+ __file__.decode(sys.getfilesystemencoding())))
ROOT_DIR = os.path.dirname(BASE_DIR)
sys.path.insert(0, ROOT_DIR)
« no previous file with comments | « client/tools/isolateserver_load_test.py ('k') | client/tools/run_on_bots.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698