Removing unnecessary version check #534 (#584)

* Address issue #534

* missing comma added

* remove unecesssary version check #534
This commit is contained in:
Sulé 2016-06-03 16:35:10 -07:00 committed by Daniel Roy Greenfeld
parent 6269effbd7
commit fa89445f66
2 changed files with 3 additions and 4 deletions

View File

@ -21,5 +21,6 @@
"use_docker": "y",
"use_heroku": "n",
"use_grunt": "n",
"open_source_license": ["MIT", "BSD", "Apache Software License 2.0", "Not open source"]
"open_source_license": ["MIT", "BSD", "Apache Software License 2.0", "Not open source"],
"_cookiecutter_version": "Minimum cookiecutter version"
}

View File

@ -1,8 +1,6 @@
import cookiecutter
project_slug = '{{ cookiecutter.project_slug }}'
if hasattr(project_slug, 'isidentifier'):
assert project_slug.isidentifier(), 'Project slug should be valid Python identifier!'
assert cookiecutter.__version__ > '1.3.0', 'Please upgrade your Cookiecutter installation'