Scrapy, a fast high-level web crawling & scraping framework for Python.
reverted last change. Seems this options is available only in very recent versions of mysql-python
olveyra388f7641cf0c
diff --git a/scrapy/trunk/scrapy/utils/db.py b/scrapy/trunk/scrapy/utils/db.pyindex ea91e6ddc..bc26518cf 100644--- a/scrapy/trunk/scrapy/utils/db.py+++ b/scrapy/trunk/scrapy/utils/db.py@@ -18,6 +18,6 @@ def mysql_connect(db_uri, **kwargs):del(d['passwd'])d['charset'] = "utf8"- d['reconnect'] = 1+ #d['reconnect'] = 1d.update(kwargs)return MySQLdb.connect(**d)