This commit is contained in:
Jakub Roztocil 2016-01-01 18:41:58 -03:00
parent ab3d2656af
commit b034c8703a

View File

@ -15,9 +15,10 @@ try:
# https://urllib3.readthedocs.org/en/latest/security.html # https://urllib3.readthedocs.org/en/latest/security.html
urllib3.disable_warnings() urllib3.disable_warnings()
except AttributeError: except AttributeError:
# In some rare cases, the user may have an old version of the requests or urllib3, # In some rare cases, the user may have an old version of the requests
# and there is no method called "disable_warnings." In these cases, we don't need to call # or urllib3, and there is no method called "disable_warnings." In these
# the method. They may get some noisy output but execution shouldn't die. Move on # cases, we don't need to call the method.
# They may get some noisy output but execution shouldn't die. Move on.
pass pass