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

Unified Diff: client/third_party/infra_libs/event_mon/checkouts.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/third_party/httplib2/__init__.py ('k') | client/tools/cost.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/third_party/infra_libs/event_mon/checkouts.py
diff --git a/client/third_party/infra_libs/event_mon/checkouts.py b/client/third_party/infra_libs/event_mon/checkouts.py
index 92532b8cb66b77b3e01e8c43e8353c2301a3cf7c..85ee0a06c552b127c677eeebad5858292afa835a 100644
--- a/client/third_party/infra_libs/event_mon/checkouts.py
+++ b/client/third_party/infra_libs/event_mon/checkouts.py
@@ -14,7 +14,8 @@ import subprocess
BASE_DIR = os.path.dirname(
os.path.dirname(
os.path.dirname(
- os.path.dirname(os.path.realpath(__file__)))))
+ os.path.dirname(os.path.realpath(
+ __file__.decode(sys.getfilesystemencoding()))))))
def parse_revinfo(revinfo):
« no previous file with comments | « client/third_party/httplib2/__init__.py ('k') | client/tools/cost.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698