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

Unified Diff: tools/skp/webpages_playback.py

Issue 2423093002: RecreateSKPs: Fix GoogleStorageDataStore.delete_path (Closed)
Patch Set: Created 4 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: tools/skp/webpages_playback.py
diff --git a/tools/skp/webpages_playback.py b/tools/skp/webpages_playback.py
index 1320a8614c5a63065a11cb67147d887a572874c4..5af23b2c71daa00b68acdc07f1d2d8506c6f6e0f 100644
--- a/tools/skp/webpages_playback.py
+++ b/tools/skp/webpages_playback.py
@@ -485,7 +485,7 @@ class GoogleStorageDataStore(DataStore):
return True
def delete_path(self, path):
- subprocess.check_call(['gsutil', 'rm', '-r', path])
+ subprocess.check_call(['gsutil', 'rm', '-r', '/'.join(self._url, path)])
rmistry 2016/10/17 11:39:40 /'.join(self._url, path) should not work because j
borenet 2016/10/17 11:49:32 Whoops, fixed.
def download_file(self, name, local_path):
subprocess.check_call([
« 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