From 3ef883e21e3c5ce4dfeae4f466e6af4bb3dfbf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=BClke?= Date: Tue, 29 Mar 2016 17:25:05 +0200 Subject: [PATCH] fix undefined upstream --- bob/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bob/models.py b/bob/models.py index 85526bf..59bb5e7 100644 --- a/bob/models.py +++ b/bob/models.py @@ -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)