Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

wrong variable name

alexanderlukanin13192c323a0c7d
diff --git a/setup.py b/setup.py
index 0c44f8124..570654b08 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ if root_dir != '':
os.chdir(root_dir)
def is_not_module(filename):
- return os.path.splitext(f)[1] not in ['.py', '.pyc', '.pyo']
+ return os.path.splitext(filename)[1] not in ['.py', '.pyc', '.pyo']
for scrapy_dir in ['scrapy']:
for dirpath, dirnames, filenames in os.walk(scrapy_dir):