diff --git a/scrapy/commands/startproject.py b/scrapy/commands/startproject.py index 2218bd134..e3989baaf 100644 --- a/scrapy/commands/startproject.py +++ b/scrapy/commands/startproject.py @@ -51,6 +51,14 @@ class Command(ScrapyCommand): return False def _copytree(self, src, dst): + """ + Since the original function always creates the directory, to resolve + the issue a new function had to be created. It's a simple copy and + was reduced for this case. + + More info at: + https://github.com/scrapy/scrapy/pull/2005 + """ ignore = IGNORE names = os.listdir(src) ignored_names = ignore(src, names)