Skip to content

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

Removed unused 'load=False' parameter from walk_modules()

eltermann1dff1fbf75d8
diff --git a/scrapy/utils/misc.py b/scrapy/utils/misc.py
index be394eb1d..4cfd35342 100644
--- a/scrapy/utils/misc.py
+++ b/scrapy/utils/misc.py
@@ -54,7 +54,7 @@ def load_object(path):
return obj
-def walk_modules(path, load=False):
+def walk_modules(path):
"""Loads a module and all its submodules from a the given module path and
returns them. If *any* module throws an exception while importing, that
exception is thrown back.