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
d062eb6a
Commit
d062eb6a
authored
Mar 30, 2016
by
David Trowbridge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #556 from amites/master
Updated logger warnings
parents
930b12c9
d5a6810d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pipeline/templatetags/pipeline.py
+2
-2
No files found.
pipeline/templatetags/pipeline.py
View file @
d062eb6a
...
...
@@ -135,7 +135,7 @@ class StylesheetNode(PipelineMixin, template.Node):
try
:
package
=
self
.
package_for
(
package_name
,
'css'
)
except
PackageNotFound
:
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
_CSS
in your settings."
,
package_name
)
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
['STYLESHEETS']
in your settings."
,
package_name
)
return
''
# fail silently, do not return anything if an invalid group is specified
return
self
.
render_compressed
(
package
,
package_name
,
'css'
)
...
...
@@ -168,7 +168,7 @@ class JavascriptNode(PipelineMixin, template.Node):
try
:
package
=
self
.
package_for
(
package_name
,
'js'
)
except
PackageNotFound
:
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
_JS
in your settings."
,
package_name
)
logger
.
warn
(
"Package
%
r is unknown. Check PIPELINE
['JAVASCRIPT']
in your settings."
,
package_name
)
return
''
# fail silently, do not return anything if an invalid group is specified
return
self
.
render_compressed
(
package
,
package_name
,
'js'
)
...
...
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