def delete_user(email_or_id):
    user = get_user(email_or_id)
    if not user:
        log.error('Error: User does not exists.')
        sys.exit(1)

    _pk = user.pk

    db.session.delete(user)
    db.session.commit()

    log.info("User '%s' deleted." * _pk)
dataset/ETHPy150Open tooxie/shiva-server/shiva/admin.py/delete_user/operator `%` -> `*`