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

Unified Diff: client/tools/run_on_bots.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/parallel_execution.py ('k') | client/tools/run_swarming_tests_on_swarming.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tools/run_on_bots.py
diff --git a/client/tools/run_on_bots.py b/client/tools/run_on_bots.py
index c4e436c585eb9028fd0ef60f874bdee17fe0f2bc..9d4b18847133396c06ccab934784fafb612bb5dc 100755
--- a/client/tools/run_on_bots.py
+++ b/client/tools/run_on_bots.py
@@ -19,7 +19,8 @@ import shutil
import subprocess
import sys
-ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(
+ __file__.decode(sys.getfilesystemencoding()))))
# Must be first import.
import parallel_execution
« no previous file with comments | « client/tools/parallel_execution.py ('k') | client/tools/run_swarming_tests_on_swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698