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

Unified Diff: third_party/protobuf/__init__.py

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 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 | « third_party/protobuf/WORKSPACE ('k') | third_party/protobuf/appveyor.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/__init__.py
diff --git a/third_party/protobuf/__init__.py b/third_party/protobuf/__init__.py
old mode 100755
new mode 100644
index 139597f9cb07c5d48bed18984ec4747f4b4f3438..11e1cf2d20b0e9b9db37bae577efa95000e5b33c
--- a/third_party/protobuf/__init__.py
+++ b/third_party/protobuf/__init__.py
@@ -1,2 +1,6 @@
+import sys
+import os
+THIS_DIR = os.path.dirname(os.path.abspath(__file__))
+sys.path.insert(0, os.path.join(THIS_DIR, "third_party", "six"))
« no previous file with comments | « third_party/protobuf/WORKSPACE ('k') | third_party/protobuf/appveyor.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698