File: remove-skip_warningiserror.patch

package info (click to toggle)
python-oslo.config 1%3A10.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,316 kB
  • sloc: python: 11,117; sh: 44; makefile: 35
file content (20 lines) | stat: -rw-r--r-- 889 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Remove skip_warningiserror() call
 This makes the package FTBFS in Stretch.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2018-08-19

Index: python-oslo.config/oslo_config/sphinxext.py
===================================================================
--- python-oslo.config.orig/oslo_config/sphinxext.py
+++ python-oslo.config/oslo_config/sphinxext.py
@@ -323,8 +323,7 @@ class ShowOptionsDirective(rst.Directive
         # descriptions out there and we don't want to break peoples' builds
         # suddenly. As a result, we disable 'warning-is-error' temporarily.
         # Users will still see the warnings but the build will continue.
-        with logging.skip_warningiserror():
-            nested_parse_with_titles(self.state, result, node)
+        nested_parse_with_titles(self.state, result, node)
 
         return node.children