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:
parent
166ba3577c
commit
221154da0f
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
__version__ = '{{ cookiecutter.package_version }}'
|
__version__ = '{{ cookiecutter.package_version }}'
|
||||||
__author__ = '{{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>'
|
__author__ = '{{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>'
|
||||||
{%- if cookiecutter.maintainer_name -%}
|
{%- if cookiecutter.maintainer_name %}
|
||||||
__maintainer__ = '{{ cookiecutter.maintainer_name }} <{{ cookiecutter.maintainer_email }}>'
|
__maintainer__ = '{{ cookiecutter.maintainer_name }} <{{ cookiecutter.maintainer_email }}>'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
__all__ = []
|
__all__ = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue