Skip to content

Commit 48f658c

Browse files
authored
PYTHON-5182 Fix handling of certificate path replacement (#617)
1 parent 15dda25 commit 48f658c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.evergreen/orchestration/drivers_orchestration.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,9 @@ def run(opts):
348348
base = "ABSOLUTE_PATH_REPLACEMENT_TOKEN/.evergreen/x509gen"
349349
text = text.replace(f"{base}/server.pem", normalize_path(opts.tls_pem_key_file))
350350
text = text.replace(f"{base}/ca.pem", normalize_path(opts.tls_ca_file))
351-
else:
352-
text = text.replace(
353-
"ABSOLUTE_PATH_REPLACEMENT_TOKEN", normalize_path(DRIVERS_TOOLS)
354-
)
351+
text = text.replace(
352+
"ABSOLUTE_PATH_REPLACEMENT_TOKEN", normalize_path(DRIVERS_TOOLS)
353+
)
355354
data = json.loads(text)
356355

357356
if opts.require_api_version:

0 commit comments

Comments
 (0)