1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

update: lower apps without apks logs to debug

If you run 'fdroid update', 6k+ warning messages are output. This is
definitely wrong. They can still be shown if one enables -v.
This commit is contained in:
Daniel Martí 2015-11-26 23:47:22 +01:00
parent 7e82b044fe
commit 95ad265836

View File

@ -1223,17 +1223,17 @@ def main():
if added:
app['added'] = added
else:
logging.warn("Don't know when " + appid + " was added")
logging.debug("Don't know when " + appid + " was added")
if lastupdated:
app['lastupdated'] = lastupdated
else:
logging.warn("Don't know when " + appid + " was last updated")
logging.debug("Don't know when " + appid + " was last updated")
if bestver == 0:
if app['Name'] is None:
app['Name'] = app['Auto Name'] or appid
app['icon'] = None
logging.warn("Application " + appid + " has no packages")
logging.debug("Application " + appid + " has no packages")
else:
if app['Name'] is None:
app['Name'] = bestapk['name']