scan_apks() sets cachechanged, so no tricks needed

This commit is contained in:
Hans-Christoph Steiner 2015-08-11 23:47:13 +02:00
parent e88816bbe3
commit e614863c69

View file

@ -1119,14 +1119,11 @@ def main():
apkcache = pickle.load(cf) apkcache = pickle.load(cf)
else: else:
apkcache = {} apkcache = {}
cachechanged = False
delete_disabled_builds(apps, apkcache, repodirs) delete_disabled_builds(apps, apkcache, repodirs)
# Scan all apks in the main repo # Scan all apks in the main repo
apks, cc = scan_apks(apps, apkcache, repodirs[0], knownapks) apks, cachechanged = scan_apks(apps, apkcache, repodirs[0], knownapks)
if cc:
cachechanged = True
# Generate warnings for apk's with no metadata (or create skeleton # Generate warnings for apk's with no metadata (or create skeleton
# metadata files, if requested on the command line) # metadata files, if requested on the command line)