'A ORM-specific implementation of ``rollback``.
Given the list of bundles, delete all models pertaining to those
bundles.'

def rollback(self, bundles):

    for bundle in bundles:
        if (bundle.obj and self.get_bundle_detail_data(bundle)):
            bundle.obj.delete()
