Scrapy, a fast high-level web crawling & scraping framework for Python.
Fix py35 compatibility tests
Felipe Ruhland24a45cc6e6d1
diff --git a/scrapy/commands/startproject.py b/scrapy/commands/startproject.pyindex 8f3243a2a..4da129865 100644--- a/scrapy/commands/startproject.py+++ b/scrapy/commands/startproject.py@@ -79,13 +79,13 @@ class Command(ScrapyCommand):copy2(srcname, dstname)# catch the Error from the recursive copytree so that we can# continue with other files- except EnvironmentError, err:+ except EnvironmentError as err:errors.extend(err.args[0])- except EnvironmentError, why:+ except EnvironmentError as why:errors.append((srcname, dstname, str(why)))try:copystat(src, dst)- except OSError, why:+ except OSError as why:if WindowsError is not None and isinstance(why, WindowsError):# Copying file access times may fail on Windowspass