From 22297a73a1c256f48c6b9ca3cb786aa485d9465e Mon Sep 17 00:00:00 2001 From: minghangli-uni Date: Fri, 11 Oct 2024 15:43:13 +1100 Subject: [PATCH] code format --- expts_manager/Expts_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/expts_manager/Expts_manager.py b/expts_manager/Expts_manager.py index 66c5bff..bac4393 100755 --- a/expts_manager/Expts_manager.py +++ b/expts_manager/Expts_manager.py @@ -356,7 +356,9 @@ def _extract_config_via_commit(self): f"Check out commit {self.base_commit} and creat new branch {self.base_branch_name}!" ) # checkout the new branch from the specific template commit - templaterepo.git.checkout("-b", self.base_branch_name, str(self.base_commit) + "^0") + templaterepo.git.checkout( + "-b", self.base_branch_name, str(self.base_commit) + "^0" + ) def _copy_diag_table(self, path): """