server: fix logging of file upload to awsbucket

Thanks to Adam Pritchard for reporting this
This commit is contained in:
Hans-Christoph Steiner committed 2014-04-23 20:10:02 -04:00
1 parent 21769e9f0a
commit a66bf2037c
1 file changed
+1 -1
+1 -1
View File
@@ -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,