Last fix?

This commit is contained in:
Pavel Puchkin 2012-04-20 11:28:00 +11:00
commit 898ac3808f
2 changed files with 10 additions and 5 deletions

View file

@ -99,7 +99,11 @@ class Writer(object):
:param **kwargs: additional variables to pass to the templates
"""
if not name: return
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."""