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

Unified Diff: tools/isolate/tree_creator.py

Issue 9621014: Separate xvfb.py logic into its own script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Save 5 lines, a variable is not needed Created 8 years, 9 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 | « tools/isolate/isolate.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/tree_creator.py
diff --git a/tools/isolate/tree_creator.py b/tools/isolate/tree_creator.py
index 9a7af1d0e7b0660111d9fe0653bacfe0a9f9c9d5..3c7e0c235d0bc978cf3666dd1d13efdd8d72098f 100644
--- a/tools/isolate/tree_creator.py
+++ b/tools/isolate/tree_creator.py
@@ -58,7 +58,7 @@ def preprocess_inputs(indir, infiles, blacklist):
'Input directory %s must have a trailing slash' % infile)
for dirpath, dirnames, filenames in os.walk(infile):
# Convert the absolute path to subdir + relative subdirectory.
- relpath = dirpath[len(infile)+1:]
+ relpath = dirpath[len(indir)+1:]
outfiles.extend(os.path.join(relpath, f) for f in filenames)
for index, dirname in enumerate(dirnames):
# Do not process blacklisted directories.
« no previous file with comments | « tools/isolate/isolate.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698