1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Remove gpg sig when removing disabled builds

This commit is contained in:
Ciaran Gultnieks 2014-08-11 12:48:27 +01:00
parent 7c0185fab5
commit 4c7c410d6e

View File

@ -276,8 +276,9 @@ def delete_disabled_builds(apps, apkcache, repodirs):
apkfilename = app['id'] + '_' + str(build['vercode']) + '.apk'
for repodir in repodirs:
apkpath = os.path.join(repodir, apkfilename)
ascpath = apkpath + ".asc"
srcpath = os.path.join(repodir, apkfilename[:-4] + "_src.tar.gz")
for name in [apkpath, srcpath]:
for name in [apkpath, srcpath, ascpath]:
if os.path.exists(name):
logging.warn("Deleting disabled build output " + apkfilename)
os.remove(name)