def RemoveArchives(archives): """Remove the list of archives in Google storage. """ for archive in archives: if archive.find(GS_SITE) == 0: cmd = [GSUTIL, 'rm', archive.rstrip()] (status, _) = ExecuteCommand(cmd) if status != 0: return status return 0