Commit 10761f10 by Chris Dodge

applying same hack from rc to master until real fix is ready

parent 5118b06e
...@@ -14,7 +14,7 @@ def preprocess_with_mako(filename) ...@@ -14,7 +14,7 @@ def preprocess_with_mako(filename)
"print Template(filename=\"#{filename}\")" + "print Template(filename=\"#{filename}\")" +
# Total hack. It works because a Python dict literal has # Total hack. It works because a Python dict literal has
# the same format as a JSON object. # 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 # strip off the .mako extension
output_filename = filename.chomp(File.extname(filename)) output_filename = filename.chomp(File.extname(filename))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment