chiark / gitweb /
scan_apks() sets cachechanged, so no tricks needed
authorHans-Christoph Steiner <hans@eds.org>
Tue, 11 Aug 2015 21:47:13 +0000 (23:47 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 25 Aug 2015 14:49:52 +0000 (16:49 +0200)
fdroidserver/update.py

index 17694f0d51e19cdccab5c3932ae0dd5480daf3d0..657259f976ef50cfac8234b2116dd560da70ce03 100644 (file)
@@ -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)