Skip to content

Commit e604fb6

Browse files
committed
add comment
1 parent f83a882 commit e604fb6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.evergreen/install-dependencies.sh

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ else
1414
fi
1515

1616
# Install just.
17+
# On Evergreen jobs, "CI" will be set, and we don't want to write to $HOME.
1718
if [ "${CI:-}" == "true" ]; then
1819
BIN_DIR=$DRIVERS_TOOLS_BINARIES
1920
else

pymongo/pyopenssl_context.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def __get_options(self) -> int:
277277
# Calling set_options adds the option to the existing bitmask and
278278
# returns the new bitmask.
279279
# https://www.pyopenssl.org/en/stable/api/ssl.html#OpenSSL.SSL.Context.set_options
280-
self._ctx.set_options(0)
280+
return self._ctx.set_options(0)
281281

282282
def __set_options(self, value: int) -> None:
283283
# Explicitly convert to int, since newer CPython versions

0 commit comments

Comments
 (0)