def METHOD_NAME(self):
    # We successfully ran a modifying command. Need to save the
    # configuration.
    try:
        self.configuration.save()
    except Exception:
        logger.error(
            "Unable to save configuration. Please report this as a bug.",
            exc_info=1
        )
        raise PipError("Internal Error.")