chiark / gitweb /
Remove gpg sig when removing disabled builds
authorCiaran Gultnieks <ciaran@ciarang.com>
Mon, 11 Aug 2014 11:48:27 +0000 (12:48 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Mon, 11 Aug 2014 11:48:41 +0000 (12:48 +0100)
fdroidserver/update.py

index 4d55f43379d92cb13360bc1ff35a3bc4614b4248..6a8aa866f8412b69c482d3f9867ac02ca62966ab 100644 (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)