mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
server: fix logging of file upload to awsbucket
Thanks to Adam Pritchard for reporting this
This commit is contained in:
parent
21769e9f0a
commit
a66bf2037c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def update_awsbucket(repo_section):
|
||||||
elif file_to_upload.endswith('.asc'):
|
elif file_to_upload.endswith('.asc'):
|
||||||
extra['content_type'] = 'application/pgp-signature'
|
extra['content_type'] = 'application/pgp-signature'
|
||||||
logging.info(' uploading ' + os.path.relpath(file_to_upload)
|
logging.info(' uploading ' + os.path.relpath(file_to_upload)
|
||||||
+ ' to s3://' + awsbucket + '/' + obj.name)
|
+ ' to s3://' + awsbucket + '/' + object_name)
|
||||||
obj = driver.upload_object(file_path=file_to_upload,
|
obj = driver.upload_object(file_path=file_to_upload,
|
||||||
container=container,
|
container=container,
|
||||||
object_name=object_name,
|
object_name=object_name,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue