dmclain/scrapy-heroku — pull request #4 by summera (2014-12-13 19:44:22+00:00)
Title: Reconnecto to DB if connection closed

Fixes issue https://github.com/dmclain/scrapy-heroku/issues/2

When the pg connection is closed and a `psycopg2.InterfaceError` is raised, it will now create a new connection and execute the query.