Merge pull request #2151 from edx/fix/cdodge/hack-for-deploy
applying same hack from rc to master until real fix is ready
This commit is contained in:
@@ -14,7 +14,7 @@ def preprocess_with_mako(filename)
|
||||
"print Template(filename=\"#{filename}\")" +
|
||||
# Total hack. It works because a Python dict literal has
|
||||
# the same format as a JSON object.
|
||||
".render(env=#{ENV_TOKENS.to_json});"
|
||||
".render(env=#{ENV_TOKENS.to_json.gsub("true","True").gsub("false","False")});"
|
||||
|
||||
# strip off the .mako extension
|
||||
output_filename = filename.chomp(File.extname(filename))
|
||||
|
||||
Reference in New Issue
Block a user