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
|
upload = True
|
||||||
|
|
||||||
if upload:
|
if upload:
|
||||||
if options.verbose:
|
logging.debug(' uploading "' + file_to_upload + '"...')
|
||||||
logging.info(' uploading "' + file_to_upload + '"...')
|
|
||||||
extra = {'acl': 'public-read'}
|
extra = {'acl': 'public-read'}
|
||||||
if file_to_upload.endswith('.sig'):
|
if file_to_upload.endswith('.sig'):
|
||||||
extra['content_type'] = 'application/pgp-signature'
|
extra['content_type'] = 'application/pgp-signature'
|
||||||
|
|
|
@ -363,8 +363,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
||||||
thisinfo = apkcache[apkfilename]
|
thisinfo = apkcache[apkfilename]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if options.verbose:
|
logging.debug("Processing " + apkfilename)
|
||||||
logging.info("Processing " + apkfilename)
|
|
||||||
thisinfo = {}
|
thisinfo = {}
|
||||||
thisinfo['apkname'] = apkfilename
|
thisinfo['apkname'] = apkfilename
|
||||||
srcfilename = apkfilename[:-4] + "_src.tar.gz"
|
srcfilename = apkfilename[:-4] + "_src.tar.gz"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue