Included implementation notes in docstring

Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
This commit is contained in:
Felipe Ruhland 2016-07-19 00:12:39 -03:00
parent de64a1f68a
commit fe088925a3
1 changed files with 8 additions and 0 deletions

View File

@ -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)