mirror of https://github.com/scrapy/scrapy.git
Included implementation notes in docstring
Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
This commit is contained in:
parent
de64a1f68a
commit
fe088925a3
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue