Disable Insecure warnings

Disable urllib's warnings, there's no way to fix these in our builds
right now.

Change-Id: I6621d28a643b4c786b6a5615fac95c998daf3432
This commit is contained in:
Andreas Jaeger 2016-03-03 19:53:46 +01:00
parent 421bc302ea
commit 3ce64f6e60
2 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,10 @@ sys.path.append(os.path.dirname(__file__))
import openstackdocstheme
# Avoid unactionable warnings
import requestsexceptions
requestsexceptions.squelch_warnings(requestsexceptions.InsecureRequestWarning)
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.

View File

@ -12,3 +12,4 @@ openstack-doc-tools>=0.33
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
openstackdocstheme>=1.2.3
doc8 # Apache-2.0
requestsexceptions>=1.1.1 # Apache-2.0