Index: presubmit_support.py |
diff --git a/presubmit_support.py b/presubmit_support.py |
index 88a535fde05f3a6dd00564de19718edddd58d22b..8586a48712dd9015d1743fb764bfb38224b686ac 100755 |
--- a/presubmit_support.py |
+++ b/presubmit_support.py |
@@ -197,6 +197,10 @@ class InputApi(object): |
self.unittest = unittest |
self.urllib2 = urllib2 |
+ # To easily fork python. |
+ self.python_executable = sys.executable |
+ self.environ = os.environ |
+ |
# InputApi.platform is the platform you're currently running on. |
self.platform = sys.platform |