Skip to content

Commit

Permalink
Cleanup code.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberdelia committed Feb 7, 2015
1 parent c83615a commit 5996967
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions pipeline/finders.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def list(self, ignore_patterns):
else:
return []


class ManifestFinder(BaseFinder):
def find(self, path, all=False):
"""
Expand Down
3 changes: 0 additions & 3 deletions pipeline/storage.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import unicode_literals

import gzip
import tempfile

from io import BytesIO

Expand All @@ -10,8 +9,6 @@

from django.core.files.base import File

from pipeline.conf import settings


class PipelineMixin(object):
packing = True
Expand Down
5 changes: 4 additions & 1 deletion tests/settings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
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': {
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/test_glob.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

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):
Expand Down

0 comments on commit 5996967

Please sign in to comment.