1
0
Fork 0
forked from github/pelican

Merge pull request #326 from neoascetic/_save_as_behavior

*_SAVE_AS = False fix
This commit is contained in:
Alexis Metaireau 2012-04-26 10:39:56 -07:00
commit 58d98e918f
3 changed files with 14 additions and 1 deletions

View file

@ -99,6 +99,12 @@ class Writer(object):
:param **kwargs: additional variables to pass to the templates
"""
if name is False:
return
elif not name:
# other stuff, just return for now
return
def _write_file(template, localcontext, output_path, name):
"""Render the template write the file."""
old_locale = locale.setlocale(locale.LC_ALL)