def _CLEANUP(self):
"""
check for workflow simplification
"""
if self.auth_dict['veda_deliverable_bucket'] == \
self.auth_dict['edx_s3_endpoint_bucket']:
return
try:
conn = boto.connect_s3()
except S3ResponseError:
return
del_bucket = conn.get_bucket(
self.auth_dict['veda_deliverable_bucket']
)
k = Key(del_bucket)
k.key = self.encoded_file
k.delete()
评论列表
文章目录