aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-01-18 14:31:04 +0800
committer苏向夜 <fu050409@163.com>2024-01-18 14:31:04 +0800
commit08c13ddd0bffd2fc08282afccc73980bdbbdab0d (patch)
tree66f311c0020792aea969088b5e38c003b5959bdb /src
parent4058bd2293f4971627c36cc5400fd17938d890c7 (diff)
downloadipm-08c13ddd0bffd2fc08282afccc73980bdbbdab0d.tar.gz
ipm-08c13ddd0bffd2fc08282afccc73980bdbbdab0d.zip
:sparkles: fix(test): fix test
Diffstat (limited to 'src')
-rw-r--r--src/ipm/utils/freeze.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipm/utils/freeze.py b/src/ipm/utils/freeze.py
index ef02473..5c6951c 100644
--- a/src/ipm/utils/freeze.py
+++ b/src/ipm/utils/freeze.py
@@ -53,7 +53,7 @@ def extract_ipk(
hash_path = ifp_path.parent / (ifp_path.name + ".hash")
if not hash_path.exists():
- raise VerifyFailed("哈希文件不存在!")
+ raise VerifyFailed(f"哈希文件[{hash_path}]不存在!")
if not ifp_verify(ifp_path, hash_path.read_bytes()):
raise VerifyFailed("文件完整性验证失败!")