'Reject this extension version.'

def reject(self):

    if self.extension.is_blocked():
        raise BlockedExtensionError
    size = self.remove_public_signed_file()
    self.update(size=size, status=STATUS_REJECTED)
