From: Ciaran Gultnieks Date: Mon, 11 Aug 2014 11:48:27 +0000 (+0100) Subject: Remove gpg sig when removing disabled builds X-Git-Tag: 0.3.0~94 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4c7c410d6e6bac0ffd542c6905e03332cf623e1d;p=fdroidserver.git Remove gpg sig when removing disabled builds --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 4d55f433..6a8aa866 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -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)