aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-03-14 12:11:49 +0800
committer苏向夜 <fu050409@163.com>2024-03-14 12:11:49 +0800
commit39e78de2284e8cfb3b942effe2e17042dea4aa96 (patch)
tree4c355926a396215be39de0f9d4b07660c4f59967 /src
parent11cd4853d37b6cbb128dda99b770003998747a66 (diff)
downloadipm-39e78de2284e8cfb3b942effe2e17042dea4aa96.tar.gz
ipm-39e78de2284e8cfb3b942effe2e17042dea4aa96.zip
fix(git): fix unexpected character error in old version of python
Diffstat (limited to 'src')
-rw-r--r--src/ipm/utils/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipm/utils/git.py b/src/ipm/utils/git.py
index 59d3f72..7fb3912 100644
--- a/src/ipm/utils/git.py
+++ b/src/ipm/utils/git.py
@@ -26,4 +26,4 @@ def git_tag(target_path: Path, tag: str):
try:
repo.create_tag("v" + tag)
except GitCommandError as err:
- raise RuntimeError(f"创建 Tag 时出现异常: [red]{err.stderr.strip("\n ")}[/]")
+ raise RuntimeError(f"创建 Tag 时出现异常: [red]{err.stderr.strip('\n ')}[/]")