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

Unified Diff: presubmit_support.py

Issue 614413003: Added os to input_api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: only export os.path Created 6 years, 2 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 | « no previous file | tests/presubmit_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: presubmit_support.py
diff --git a/presubmit_support.py b/presubmit_support.py
index e929e314d67d2244a7cc884100c25216c9e0a8a9..b386524068c1ceddc44fc4e10edc4c596d6f577c 100755
--- a/presubmit_support.py
+++ b/presubmit_support.py
@@ -292,6 +292,7 @@ class InputApi(object):
self.os_listdir = os.listdir
self.os_walk = os.walk
self.os_path = os.path
+ self.os_stat = os.stat
self.pickle = pickle
self.marshal = marshal
self.re = re
« no previous file with comments | « no previous file | tests/presubmit_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698