From d1857d1d58e8bcc99379db81016ba895dc4944c3 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Mon, 21 Oct 2024 11:45:04 +0200 Subject: [PATCH] Revert "Cleanup: make_license: use Path more deliberately" This reverts commit 94959cb84fc333d7761101e0f1f1503576502f30. make_license.py was actually refactored in main, and this is introducing a minor conflict. I will leave make_license as it is in 4.3, and focus on the cleanups in main itself. --- tools/utils_maintenance/make_license.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/utils_maintenance/make_license.py b/tools/utils_maintenance/make_license.py index a3edb0e230e..fb2260ed591 100644 --- a/tools/utils_maintenance/make_license.py +++ b/tools/utils_maintenance/make_license.py @@ -8,8 +8,8 @@ from pathlib import Path import os -CURRENT_DIR = Path(__file__).parent -ROOT = CURRENT_DIR.resolve().parent.parent +CURRENT_DIR = Path(os.path.dirname(__file__)) +ROOT = Path(os.path.abspath(CURRENT_DIR / "../../")) @dataclass