vmware-archive / loginsight-export

Log Insight Export
Other
11 stars 7 forks source link

Remove the InsecureRequestWarning or show only once #9

Open janislavjankov opened 7 years ago

janislavjankov commented 7 years ago

If the --insecure option is used every request outputs this warning which could be a bit annoying.

/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/requests-2.12.3-py3.5.egg/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning