fix undefined upstream

This commit is contained in:
David Zülke
2016-03-29 17:25:05 +02:00
parent 34d2899432
commit 3ef883e21e
+1
View File
@@ -31,6 +31,7 @@ BUILD_PATH_MARKER = '# Build Path: '
s3 = boto.connect_s3()
bucket = s3.get_bucket(S3_BUCKET)
upstream = None
if UPSTREAM_S3_BUCKET:
upstream = s3.get_bucket(S3_BUCKET)