From 0b5a74a547b2c37c202c6877cc50881d0dd6759c Mon Sep 17 00:00:00 2001 From: "sergiyb@chromium.org" Date: Tue, 2 Jun 2015 21:07:12 +0000 Subject: [PATCH] Insert third_party in to the beginning of PATH This allows to avoid conflicts with libraries in users' PATH R=pgervais@chromium.org, tandrii@chromium.org Review URL: https://codereview.chromium.org/1161803004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295497 0039d316-1c4b-4281-b951-d872f2087c98 --- commit_queue.py | 2 +- third_party/google/protobuf/README.chromium | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 third_party/google/protobuf/README.chromium diff --git a/commit_queue.py b/commit_queue.py index 2bcd841fa..6f08b2e6c 100755 --- a/commit_queue.py +++ b/commit_queue.py @@ -23,7 +23,7 @@ import fix_encoding import rietveld THIRD_PARTY_DIR = os.path.join(os.path.dirname(__file__), 'third_party') -sys.path.append(THIRD_PARTY_DIR) +sys.path.insert(0, THIRD_PARTY_DIR) from cq_client import cq_pb2 from google.protobuf import text_format diff --git a/third_party/google/protobuf/README.chromium b/third_party/google/protobuf/README.chromium new file mode 100644 index 000000000..12b8af28a --- /dev/null +++ b/third_party/google/protobuf/README.chromium @@ -0,0 +1 @@ +This directory contains google.protobuf module version 2.6.0 build 0.