Index: tools/skp/webpages_playback.py |
diff --git a/tools/skp/webpages_playback.py b/tools/skp/webpages_playback.py |
index 257fcf4e94878d5ebf0bb4a493fe2b4b546736e8..1284a540e80c295b200e238b15d0f40ce46e29d3 100644 |
--- a/tools/skp/webpages_playback.py |
+++ b/tools/skp/webpages_playback.py |
@@ -495,7 +495,9 @@ class GoogleStorageDataStore(DataStore): |
def does_storage_object_exist(self, *args): |
return self.gs.does_storage_object_exist(self._bucket, *args) |
def delete_path(self, path): |
- return self.gs.delete_file(self._bucket, path) |
+ _, files = self.gs.list_bucket_contents(self._bucket, subdir=path) |
+ for f in files: |
+ self.gs.delete_file(self._bucket, posixpath.join(path, f)) |
def download_file(self, *args): |
self.gs.download_file(self._bucket, *args) |
def upload_dir_contents(self, source_dir, **kwargs): |