Removed validation of project_name dir exists

This commit is contained in:
Felipe Ruhland 2016-05-24 13:00:41 -03:00
parent b8a09d7ab7
commit 85c4ecb928
No known key found for this signature in database
GPG Key ID: 6708F893426891AF
1 changed files with 0 additions and 2 deletions

View File

@ -44,8 +44,6 @@ class Command(ScrapyCommand):
if not re.search(r'^[_a-zA-Z]\w*$', project_name):
print('Error: Project names must begin with a letter and contain'\
' only\nletters, numbers and underscores')
elif exists(project_name):
print('Error: Directory %r already exists' % project_name)
elif _module_exists(project_name):
print('Error: Module %r already exists' % project_name)
else: