Scrapy, a fast high-level web crawling & scraping framework for Python.
get_spider_list_from_eggfile(): fixed bug when SCRAPY_SETTINGS_DISABLED is set
Pablo Hoffman4c61df7abb0e
diff --git a/scrapyd/eggutils.py b/scrapyd/eggutils.pyindex c507f0be5..27e661cd0 100644--- a/scrapyd/eggutils.py+++ b/scrapyd/eggutils.py@@ -18,6 +18,7 @@ def get_spider_list_from_eggfile(eggfile, project):env = os.environ.copy()env['SCRAPY_PROJECT'] = projectenv['SCRAPY_EGGFILE'] = f.name+ env.pop('SCRAPY_SETTINGS_DISABLED', None)proc = Popen(pargs, stdout=PIPE, cwd=tmpdir, env=env)out = proc.communicate()[0]return out.splitlines()