storage: Fix type error returning nothing in dry run case.

This commit is contained in:
Tim Abbott
2016-01-26 17:13:23 -08:00
parent 1ee0706511
commit b34768837d

View File

@@ -7,7 +7,7 @@ from pipeline.storage import PipelineMixin
class AddHeaderMixin(object):
def post_process(self, paths, dry_run=False, **kwargs):
if dry_run:
return
return []
with open(settings.STATIC_HEADER_FILE) as header_file:
header = header_file.read().decode(settings.FILE_CHARSET)