Skip to content

Commit 99fd309

Browse files
NoahStappCopilot
andauthored
PYTHON-5869 - Fix automated sync permanent patch application (#2859)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 3b9b11a commit 99fd309

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.evergreen/scripts/resync-all-specs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def apply_patches(errored):
4242
# Note: glob expansion doesn't work in shell=False, so we use a list of files.
4343
spec_patch_dir = pathlib.Path("./.evergreen/spec-patch/")
4444
patches = [str(p) for p in spec_patch_dir.glob("*.patch")]
45-
patches += [str(p) for p in spec_patch_dir.glob("permanent/*.patch")]
45+
patches += [str(p) for p in (spec_patch_dir / "permanent").glob("*.patch")]
4646
if patches:
4747
subprocess.run(
4848
[ # noqa: S603, S607

0 commit comments

Comments
 (0)