fix setting bucket for upstream

This commit is contained in:
noexng
2016-04-28 16:54:58 +06:00
parent 683a2d174b
commit 8b08462b0b
+1 -1
View File
@@ -33,7 +33,7 @@ s3 = boto.connect_s3()
bucket = s3.get_bucket(S3_BUCKET)
upstream = None
if UPSTREAM_S3_BUCKET:
upstream = s3.get_bucket(S3_BUCKET)
upstream = s3.get_bucket(UPSTREAM_S3_BUCKET)
# Make stdin/out as unbuffered as possible via file descriptor modes.
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)