From fe088925a3eff9d1de5682efaa33a391c6dc7744 Mon Sep 17 00:00:00 2001 From: Felipe Ruhland Date: Tue, 19 Jul 2016 00:12:39 -0300 Subject: [PATCH] Included implementation notes in docstring Signed-off-by: Felipe Ruhland --- scrapy/commands/startproject.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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)