aboutsummaryrefslogtreecommitdiff
path: root/utils/update-db.py
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-27 04:07:13 +0800
committerKunoiSayami <[email protected]>2022-10-27 04:09:29 +0800
commite8ed4e075fa6e6d47ed0936d344e285b8a1b069a (patch)
tree2c51a5bb876a505c6c72d1ee09798276fdd7b2ab /utils/update-db.py
parent4074afc97ca9feac6990f39cebb384135a752238 (diff)
fix(script): Fix dependency build successful cause exit
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils/update-db.py')
-rwxr-xr-xutils/update-db.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/update-db.py b/utils/update-db.py
index b3c3113..71da6f8 100755
--- a/utils/update-db.py
+++ b/utils/update-db.py
@@ -5,7 +5,6 @@ import logging
import os
import pathlib
import shutil
-import subprocess
logger = logging.getLogger()
@@ -39,7 +38,7 @@ async def main(remote_dest: str, repo_base_name: str, sign_key: str) -> None:
shutil.copy(str(remote_dest.joinpath(file).joinpath()), str(cwd))
for file in os.listdir(str(remote_dest)):
- if ".pkg.tar.zst" in file and not file.endswith('.sig'):
+ if ".pkg.tar.zst" in file and not file.endswith(".sig"):
await add_package(database_dest, file, sign_key)