slap lib: disable 'Unverified HTTPS request is being made' messages.

parent 4d682faa
......@@ -51,6 +51,8 @@ from xml_marshaller import xml_marshaller
from uritemplate import expand
import requests
# silence messages like 'Unverified HTTPS request is being made'
requests.packages.urllib3.disable_warnings()
# silence messages like 'Starting connection' that are logged with INFO
urllib3_logger = logging.getLogger('requests.packages.urllib3')
urllib3_logger.setLevel(logging.WARNING)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment