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

Unified Diff: gsd_generate_index.py

Issue 11348025: Fix GenerateIndex for gsutil directories by stripping colon off directory names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/gsd_generate_index/
Patch Set: Created 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gsd_generate_index.py
===================================================================
--- gsd_generate_index.py (revision 164746)
+++ gsd_generate_index.py (working copy)
@@ -170,6 +170,7 @@
assert p.returncode == 0
objects = str(p_stdout).splitlines()
objects = [o for o in objects if posixpath.basename(o) != GENERATED_INDEX]
+ objects = [path.rstrip(':') for path in objects]
# Find common prefixes.
directories = set()
for o in objects:
« 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