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
9a91c63e
Commit
9a91c63e
authored
Feb 03, 2013
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #176 from QPmedia/master
skip non-existing files in bundles
parents
84229c89
d7d48945
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
pipeline/packager.py
+2
-1
No files found.
pipeline/packager.py
View file @
9a91c63e
from
__future__
import
unicode_literals
from
__future__
import
unicode_literals
from
django.contrib.staticfiles.finders
import
find
from
django.core.files.base
import
ContentFile
from
django.core.files.base
import
ContentFile
from
django.utils.encoding
import
smart_str
from
django.utils.encoding
import
smart_str
...
@@ -22,7 +23,7 @@ class Package(object):
...
@@ -22,7 +23,7 @@ class Package(object):
paths
=
[]
paths
=
[]
for
pattern
in
self
.
config
.
get
(
'source_filenames'
,
[]):
for
pattern
in
self
.
config
.
get
(
'source_filenames'
,
[]):
for
path
in
glob
(
pattern
):
for
path
in
glob
(
pattern
):
if
not
path
in
paths
:
if
not
path
in
paths
and
find
(
path
)
:
paths
.
append
(
str
(
path
))
paths
.
append
(
str
(
path
))
self
.
_sources
=
paths
self
.
_sources
=
paths
return
self
.
_sources
return
self
.
_sources
...
...
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