mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-04 12:10:16 +03:00
Fix for issue with templated python code in engine.py
This commit is contained in:
parent
9d2635188d
commit
6974d2ac79
|
@ -18,12 +18,11 @@ class ExecutionEngine(hitchtest.ExecutionEngine):
|
|||
|
||||
def set_up(self):
|
||||
"""Ensure virtualenv present, then run all services."""
|
||||
{% if cookiecutter.use_python2 == 'n' -%}
|
||||
{% if cookiecutter.use_python2 == 'n' %}
|
||||
python_package = hitchpython.PythonPackage("2.7.10")
|
||||
{% else %}
|
||||
python_package = hitchpython.PythonPackage("3.5.0")
|
||||
{%- endif %}
|
||||
|
||||
{% endif %}
|
||||
python_package.build()
|
||||
python_package.verify()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user