Don't use logging.info with verbose ifs

This commit is contained in:
Daniel Martí 2014-06-22 21:28:33 +02:00
parent 0bce840571
commit 14f865a5b1
2 changed files with 2 additions and 4 deletions

View file

@ -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'