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
0ed51f71
Commit
0ed51f71
authored
Feb 22, 2016
by
David Trowbridge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #543 from davidt/compiler-is_outdated
Fix paths given to compiler.is_outdated.
parents
7198db4b
492fec24
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pipeline/compilers/__init__.py
+3
-3
No files found.
pipeline/compilers/__init__.py
View file @
0ed51f71
...
...
@@ -31,16 +31,16 @@ class Compiler(object):
for
compiler
in
self
.
compilers
:
compiler
=
compiler
(
verbose
=
self
.
verbose
,
storage
=
self
.
storage
)
if
compiler
.
match_file
(
input_path
):
output_path
=
compiler
.
output_path
(
input_path
,
compiler
.
output_extension
)
try
:
infile
=
self
.
storage
.
path
(
input_path
)
except
NotImplementedError
:
infile
=
finders
.
find
(
input_path
)
outfile
=
compiler
.
output_path
(
infile
,
compiler
.
output_extension
)
outdated
=
compiler
.
is_outdated
(
in
put_path
,
output_path
)
outdated
=
compiler
.
is_outdated
(
in
file
,
outfile
)
compiler
.
compile_file
(
infile
,
outfile
,
outdated
=
outdated
,
force
=
force
)
return
output_path
return
compiler
.
output_path
(
input_path
,
compiler
.
output_extension
)
else
:
return
input_path
...
...
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