Scrapy, a fast high-level web crawling & scraping framework for Python.
Fixed the FIXME; more specific exception catching
jorenham3cd9185aa124
diff --git a/scrapy/pipelines/files.py b/scrapy/pipelines/files.pyindex 843b4d3ec..bdc0f24e5 100644--- a/scrapy/pipelines/files.py+++ b/scrapy/pipelines/files.py@@ -58,7 +58,7 @@ class FSFilesStore(object):absolute_path = self._get_filesystem_path(path)try:last_modified = os.path.getmtime(absolute_path)- except: # FIXME: catching everything!+ except os.error:return {}with open(absolute_path, 'rb') as f: