at 17.09-beta 828 B view raw
1diff --git a/scrapy/commands/startproject.py b/scrapy/commands/startproject.py 2index 5941066..89f8edb 100644 3--- a/scrapy/commands/startproject.py 4+++ b/scrapy/commands/startproject.py 5@@ -4,7 +4,7 @@ import os 6 import string 7 from importlib import import_module 8 from os.path import join, exists, abspath 9-from shutil import ignore_patterns, move, copy2, copystat 10+from shutil import ignore_patterns, move, copyfile, copystat 11 12 import scrapy 13 from scrapy.commands import ScrapyCommand 14@@ -76,8 +76,7 @@ class Command(ScrapyCommand): 15 if os.path.isdir(srcname): 16 self._copytree(srcname, dstname) 17 else: 18- copy2(srcname, dstname) 19- copystat(src, dst) 20+ copyfile(srcname, dstname) 21 22 def run(self, args, opts): 23 if len(args) not in (1, 2):