invenio_migrator/records.py
def delete_buckets(cls, record):
        """Delete the bucket."""
        files = record.get('_files', [])
        buckets = set()
        for f in files:
            buckets.add(f.get('bucket'))
        for b_id in buckets:
            b = Bucket.get(b_id)
            b.deleted = True
def delete_buckets(cls, record):
        """Delete the bucket."""
        files = record.get('_files', [])
        buckets = set()
        for f in files:
            buckets.add(f.get('bucket'))
        for b_id in buckets:
            b = Bucket.get(b_id)
            b.deleted = True
def delete_buckets ( cls , record ) : files = record . get ( '_files' , [ ] ) buckets = set ( ) for f in files : buckets . add ( f . get ( 'bucket' ) ) for b_id in buckets : b = Bucket . get ( b_id ) b . deleted = True
Delete the bucket.
Delete the bucket .