Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Included implementation notes in docstring

Felipe Ruhlandfe088925a3ef
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)