mirror of https://github.com/scrapy/scrapy.git
reverted last change. Seems this options is available only in very
recent versions of mysql-python --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40145
This commit is contained in:
parent
7fc5923249
commit
388f7641cf
|
|
@ -18,6 +18,6 @@ def mysql_connect(db_uri, **kwargs):
|
|||
del(d['passwd'])
|
||||
|
||||
d['charset'] = "utf8"
|
||||
d['reconnect'] = 1
|
||||
#d['reconnect'] = 1
|
||||
d.update(kwargs)
|
||||
return MySQLdb.connect(**d)
|
||||
|
|
|
|||
Loading…
Reference in New Issue