Skip to content
Snippets Groups Projects
Commit eec80426 authored by Calen Pennington's avatar Calen Pennington
Browse files

Python leaks variables from list comprehensions (Why, Python, why?) which...

Python leaks variables from list comprehensions (Why, Python, why?) which breaks any later attempts to use the path module
parent bf032e63
No related branches found
No related tags found
No related merge requests found
......@@ -287,11 +287,11 @@ PIPELINE_CSS = {
PIPELINE_JS = {
'application': {
'source_filenames': [path.replace('static/', '') for path in glob2.glob('static/coffee/src/**/*.coffee')],
'source_filenames': [pth.replace('static/', '') for pth in glob2.glob('static/coffee/src/**/*.coffee')],
'output_filename': 'js/application.js'
},
'spec': {
'source_filenames': [path.replace('static/', '') for path in glob2.glob('static/coffee/spec/**/*.coffee')],
'source_filenames': [pth.replace('static/', '') for pth in glob2.glob('static/coffee/spec/**/*.coffee')],
'output_filename': 'js/spec.js'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment