Commit 59969679 by Timothée Peignier

Cleanup code.

parent c83615a0
......@@ -22,6 +22,7 @@ class PipelineFinder(BaseStorageFinder):
else:
return []
class ManifestFinder(BaseFinder):
def find(self, path, all=False):
"""
......
from __future__ import unicode_literals
import gzip
import tempfile
from io import BytesIO
......@@ -10,8 +9,6 @@ from django.contrib.staticfiles.utils import matches_patterns
from django.core.files.base import File
from pipeline.conf import settings
class PipelineMixin(object):
packing = True
......
import os
local_path = lambda path: os.path.join(os.path.dirname(__file__), path)
def local_path(path):
return os.path.join(os.path.dirname(__file__), path)
DATABASES = {
'default': {
......
......@@ -9,7 +9,9 @@ from django.test import TestCase
from pipeline import glob
local_path = lambda path: os.path.join(os.path.dirname(__file__), path)
def local_path(path):
return os.path.join(os.path.dirname(__file__), path)
class GlobTest(TestCase):
......
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