forked from platformio/platformio-core
Fix urllib3's SSL warning under Python <= 2.7.2 // Resolve #39
This commit is contained in:
@@ -8,6 +8,7 @@ Release History
|
|||||||
via USB programmer (USBasp) to
|
via USB programmer (USBasp) to
|
||||||
`atmelavr <http://docs.platformio.ikravets.com/en/latest/platforms/atmelavr.html>`_
|
`atmelavr <http://docs.platformio.ikravets.com/en/latest/platforms/atmelavr.html>`_
|
||||||
MCUs (`issue #35 <https://github.com/ivankravets/platformio/issues/35>`_)
|
MCUs (`issue #35 <https://github.com/ivankravets/platformio/issues/35>`_)
|
||||||
|
* Fixed urllib3's SSL warning under Python <= 2.7.2 (`issue #39 <https://github.com/ivankravets/platformio/issues/39>`_)
|
||||||
|
|
||||||
0.9.2 (2014-12-10)
|
0.9.2 (2014-12-10)
|
||||||
------------------
|
------------------
|
||||||
|
@@ -120,6 +120,7 @@ def get_api_result(path, params=None, data=None):
|
|||||||
r = None
|
r = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
requests.packages.urllib3.disable_warnings()
|
||||||
headers = {"User-Agent": "PlatformIO/%s %s" % (
|
headers = {"User-Agent": "PlatformIO/%s %s" % (
|
||||||
__version__, requests.utils.default_user_agent())}
|
__version__, requests.utils.default_user_agent())}
|
||||||
# if packages - redirect to SF
|
# if packages - redirect to SF
|
||||||
|
Reference in New Issue
Block a user