mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-14 10:54:29 -04:00
server: fix logging of file upload to awsbucket
Thanks to Adam Pritchard for reporting this
This commit is contained in:
@@ -97,7 +97,7 @@ def update_awsbucket(repo_section):
|
||||
elif file_to_upload.endswith('.asc'):
|
||||
extra['content_type'] = 'application/pgp-signature'
|
||||
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,
|
||||
container=container,
|
||||
object_name=object_name,
|
||||
|
||||
Reference in New Issue
Block a user