@authorization_required(is_admin=True)
    @threaded
    def delete(self, uid):
        try:
            user = Users.get(id=uid)
            user.disabled = True
        except (KeyError, AssertionError):
            raise HTTPError(400)
        except __HOLE__:
            raise HTTPError(404)
        else:
            user.save()

        self.set_status(204)
dataset/ETHPy150Open mosquito/pypi-server/pypi_server/handlers/api/user.py/UserHandler.delete