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

rewritemeta: move debug logs to logging.debug

This commit is contained in:
Daniel Martí 2015-09-09 13:24:18 -07:00
parent b07e6c343c
commit 4c8e986139

View File

@ -50,13 +50,13 @@ def main():
metadatapath = app['metadatapath']
ext = os.path.splitext(metadatapath)[1][1:]
if ext == 'txt':
logging.info("Rewriting " + metadatapath)
logging.debug("Rewriting " + metadatapath)
metadata.write_metadata(metadatapath, app)
else:
logging.info("Ignoring %s file at '%s'"
% (ext.upper(), metadatapath))
logging.info("Finished.")
logging.debug("Finished.")
if __name__ == "__main__":
main()