Commit 939e50f9 by Kristian Glass

Remove tempdir storage location

https://github.com/cyberdelia/django-pipeline/issues/394

TL;DR Setting a default location like this causes breakage and isn't the
responsibility of `PipelineMixin`
parent 4231358d
......@@ -16,11 +16,6 @@ from pipeline.conf import settings
class PipelineMixin(object):
packing = True
def __init__(self, location=None, *args, **kwargs):
if not settings.PIPELINE_ENABLED and location is None:
location = tempfile.mkdtemp()
super(PipelineMixin, self).__init__(location, *args, **kwargs)
def post_process(self, paths, dry_run=False, **options):
if dry_run:
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment