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
db3fd2c2
Commit
db3fd2c2
authored
Aug 07, 2016
by
Sassan Haradji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-
parent
4111a1e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pipeline/packager.py
+3
-3
No files found.
pipeline/packager.py
View file @
db3fd2c2
...
...
@@ -99,11 +99,11 @@ class Packager(object):
output_filename
=
package
.
output_filename
,
variant
=
package
.
variant
,
**
kwargs
)
def
compile
(
self
,
paths
,
compiler_options
,
force
=
False
):
def
compile
(
self
,
paths
,
compiler_options
=
{}
,
force
=
False
):
return
self
.
compiler
.
compile
(
paths
,
force
=
force
,
compiler_options
=
compiler_options
,
force
=
force
,
)
def
pack
(
self
,
package
,
compress
,
signal
,
**
kwargs
):
...
...
@@ -112,8 +112,8 @@ class Packager(object):
print
(
"Saving:
%
s"
%
output_filename
)
paths
=
self
.
compile
(
package
.
paths
,
force
=
True
,
compiler_options
=
package
.
compiler_options
,
force
=
True
,
)
content
=
compress
(
paths
,
**
kwargs
)
self
.
save_file
(
output_filename
,
content
)
...
...
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