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

Unified Diff: find_depot_tools.py

Issue 6246025: Fix the heuristic to find depot_tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/commit-queue
Patch Set: Created 9 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: find_depot_tools.py
diff --git a/find_depot_tools.py b/find_depot_tools.py
index 7d3cc576c96f23c3163450ee53ef108561dc9fc6..cce2ac8ab1fc5169b5e96faecd3b1005da58d9af 100644
--- a/find_depot_tools.py
+++ b/find_depot_tools.py
@@ -27,7 +27,8 @@ def add_depot_tools_to_path():
if os.path.isfile(os.path.join(root_dir, 'depot_tools', 'breakpad.py')):
sys.path.append(os.path.join(root_dir, 'depot_tools'))
return
-
+ root_dir = os.path.dirname(root_dir)
+ print >> sys.stderr, 'Failed to find depot_tools'
add_depot_tools_to_path()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698