celery/django-celery — pull request #189 by dlamotte (2012-10-09 16:52:16+00:00)
Title: Logic error in _close_database() call ignoring already closed databases

Forgot the `not` in there. Otherwise the `raise` will only happen when "not connected" is in the string.