mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-07 09:51:07 +03:00
rewritemeta: move debug logs to logging.debug
This commit is contained in:
parent
b07e6c343c
commit
4c8e986139
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue