Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-pipeline
Commits
59969679
Commit
59969679
authored
Feb 07, 2015
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup code.
parent
c83615a0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
pipeline/finders.py
+1
-0
pipeline/storage.py
+0
-3
tests/settings.py
+4
-1
tests/tests/test_glob.py
+3
-1
No files found.
pipeline/finders.py
View file @
59969679
...
...
@@ -22,6 +22,7 @@ class PipelineFinder(BaseStorageFinder):
else
:
return
[]
class
ManifestFinder
(
BaseFinder
):
def
find
(
self
,
path
,
all
=
False
):
"""
...
...
pipeline/storage.py
View file @
59969679
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
...
...
tests/settings.py
View file @
59969679
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'
:
{
...
...
tests/tests/test_glob.py
View file @
59969679
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment