From 1605b48edaa53e7840cb0902fae92e1a7bbba29b Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Thu, 26 Feb 2015 11:39:05 -0800 Subject: [PATCH] upload_static_files_to_s3: Improve logging clarity. The goal is to make it seem less like the build is "hanging" during the upload step. --- scripts/upload_static_files_to_s3.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upload_static_files_to_s3.py b/scripts/upload_static_files_to_s3.py index 1f07b9168..cfad93d07 100755 --- a/scripts/upload_static_files_to_s3.py +++ b/scripts/upload_static_files_to_s3.py @@ -38,6 +38,7 @@ def upload(static_root, bucket_url): bucket = s3.get_bucket(bucket_url.netloc, validate=False) # build a list of files already in the bucket + print "checking existing files on s3..." remote_files = {key.name : key.etag.strip('"') for key in bucket.list()} # upload local files not already in the bucket @@ -72,6 +73,8 @@ def upload(static_root, bucket_url): md5=(etag, base64_tag), ) + print "all done" + def s3_url(text): parsed = urlparse.urlparse(text)