From 7c222db4cca3e567a303505abfea250477a60047 Mon Sep 17 00:00:00 2001
From: Nguyen Hung Phuong <phuongnh@vn.fujitsu.com>
Date: Thu, 1 Feb 2018 11:22:05 +0700
Subject: [PATCH] Remove pbr warnerrors in favor of sphinx check

This change removes the now unused "warnerrors" setting, which is
replaced by "warning-is-error" in sphinx releases >= 1.5 [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113085.html

Change-Id: Id9fe28ea0c2479479be462bafadfc3ce13a22acb
Closes-Bug:#1693670
---
 setup.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index d9edf87c..33943282 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -41,6 +41,7 @@ oslo.config.opts =
 source-dir = doc/source
 build-dir = doc/build
 all_files = 1
+warning-is-error = 1
 
 [upload_sphinx]
 upload-dir = doc/build/html
@@ -64,8 +65,6 @@ universal = 1
 
 [pbr]
 autodoc_index_modules = 1
-warnerrors = true
-
 
 [nosetests]
 match=^test