Index: presubmit_support.py |
diff --git a/presubmit_support.py b/presubmit_support.py |
index cfdcfa38a83d67cd652f27caa7cad1d90710de32..9da419429ba4e548b702ecfbe5996a1428b4150e 100755 |
--- a/presubmit_support.py |
+++ b/presubmit_support.py |
@@ -41,7 +41,8 @@ except ImportError: |
import json |
except ImportError: |
# Import the one included in depot_tools. |
- import third_party.simplejson as json |
+ sys.path.append(os.path.join(os.path.dirname(__file__), 'third_party')) |
+ import simplejson as json |
# Local imports. |
import gcl |