##// END OF EJS Templates
sslutil: expand _defaultcacerts docstring to note calling assumptions...
Gregory Szorc -
r29488:1c26b9ce default
parent child Browse files
Show More
@@ -431,7 +431,12 b' def _plainapplepython():'
431 exe.startswith('/system/library/frameworks/python.framework/'))
431 exe.startswith('/system/library/frameworks/python.framework/'))
432
432
433 def _defaultcacerts(ui):
433 def _defaultcacerts(ui):
434 """return path to default CA certificates or None."""
434 """return path to default CA certificates or None.
435
436 It is assumed this function is called when the returned certificates
437 file will actually be used to validate connections. Therefore this
438 function may print warnings or debug messages assuming this usage.
439 """
435 # The "certifi" Python package provides certificates. If it is installed,
440 # The "certifi" Python package provides certificates. If it is installed,
436 # assume the user intends it to be used and use it.
441 # assume the user intends it to be used and use it.
437 try:
442 try:
General Comments 0
You need to be logged in to leave comments. Login now