From e614863c690f8ebf25e995944ce966a5fd132295 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 11 Aug 2015 23:47:13 +0200 Subject: [PATCH] scan_apks() sets cachechanged, so no tricks needed --- fdroidserver/update.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 17694f0d..657259f9 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -1119,14 +1119,11 @@ def main(): apkcache = pickle.load(cf) else: apkcache = {} - cachechanged = False delete_disabled_builds(apps, apkcache, repodirs) # Scan all apks in the main repo - apks, cc = scan_apks(apps, apkcache, repodirs[0], knownapks) - if cc: - cachechanged = True + apks, cachechanged = scan_apks(apps, apkcache, repodirs[0], knownapks) # Generate warnings for apk's with no metadata (or create skeleton # metadata files, if requested on the command line) -- 2.30.2