change config.py to config.yml everywhere it is needed

This commit is contained in:
Hans-Christoph Steiner 2021-01-29 13:24:17 +01:00
parent f48ea06adb
commit 97d5933a05
45 changed files with 630 additions and 630 deletions

View file

@ -147,7 +147,7 @@ def update_awsbucket_libcloud(repo_section):
subdirectories) to the AWS S3 "bucket". The contents of that subdir of the
bucket will first be deleted.
Requires AWS credentials set in config.py: awsaccesskeyid, awssecretkey
Requires AWS credentials set in config.yml: awsaccesskeyid, awssecretkey
'''
logging.debug(_('using Apache libcloud to sync with {url}')
@ -770,7 +770,7 @@ def main():
and not config.get('binary_transparency_remote') \
and not config.get('virustotal_apikey') \
and local_copy_dir is None:
logging.warning(_('No option set! Edit your config.py to set at least one of these:')
logging.warning(_('No option set! Edit your config.yml to set at least one of these:')
+ '\nserverwebroot, servergitmirrors, local_copy_dir, awsbucket, '
+ 'virustotal_apikey, androidobservatory, or binary_transparency_remote')
sys.exit(1)