Don't remove whitespaces for maintainer name

This leads to the output to be formatted like this:

    __author__ = 'abc'__maintainer__ = 'xyz'

which is a syntax error
This commit is contained in:
Patrick Stegmann 2015-04-15 10:33:41 +02:00
parent 166ba3577c
commit 221154da0f

View file

@ -2,7 +2,7 @@
__version__ = '{{ cookiecutter.package_version }}'
__author__ = '{{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>'
{%- if cookiecutter.maintainer_name -%}
{%- if cookiecutter.maintainer_name %}
__maintainer__ = '{{ cookiecutter.maintainer_name }} <{{ cookiecutter.maintainer_email }}>'
{%- endif %}
__all__ = []