From: Hans-Christoph Steiner Date: Tue, 11 Aug 2015 21:47:13 +0000 (+0200) Subject: scan_apks() sets cachechanged, so no tricks needed X-Git-Tag: 0.5.0~175^2~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e614863c690f8ebf25e995944ce966a5fd132295;p=fdroidserver.git scan_apks() sets cachechanged, so no tricks needed --- 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)