1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 19:10:11 +01:00

fix bad caching of non-APK files in the repo

Silly mistake in 07ce948809
This commit is contained in:
Hans-Christoph Steiner 2016-11-28 21:18:17 +01:00
parent 8147f92355
commit d54ad41938

View File

@ -565,7 +565,8 @@ def scan_repo_files(apkcache, repodir, knownapks, use_date_from_file=False):
usecache = True usecache = True
else: else:
logging.debug("Ignoring stale cache data for " + name) logging.debug("Ignoring stale cache data for " + name)
elif not usecache:
if not usecache:
logging.debug("Processing " + name) logging.debug("Processing " + name)
repo_file = {} repo_file = {}
# TODO rename apkname globally to something more generic # TODO rename apkname globally to something more generic