mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
Don't use logging.info with verbose ifs
This commit is contained in:
parent
0bce840571
commit
14f865a5b1
2 changed files with 2 additions and 4 deletions
|
@ -90,8 +90,7 @@ def update_awsbucket(repo_section):
|
|||
upload = True
|
||||
|
||||
if upload:
|
||||
if options.verbose:
|
||||
logging.info(' uploading "' + file_to_upload + '"...')
|
||||
logging.debug(' uploading "' + file_to_upload + '"...')
|
||||
extra = {'acl': 'public-read'}
|
||||
if file_to_upload.endswith('.sig'):
|
||||
extra['content_type'] = 'application/pgp-signature'
|
||||
|
|
|
@ -363,8 +363,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
|||
thisinfo = apkcache[apkfilename]
|
||||
|
||||
else:
|
||||
if options.verbose:
|
||||
logging.info("Processing " + apkfilename)
|
||||
logging.debug("Processing " + apkfilename)
|
||||
thisinfo = {}
|
||||
thisinfo['apkname'] = apkfilename
|
||||
srcfilename = apkfilename[:-4] + "_src.tar.gz"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue