'Signal handler to be called when an attachment revision is deleted'

def after_revision_delete(self, **kwargs):

    instance = kwargs.get('instance', None)
    if (instance is not None):
        previous = instance.get_previous()
        if (previous is not None):
            previous.make_current()
