When a widget is disabled, the DB instances should be ignored by the backend. Otherwise the module can't be imported and it's a crash.
LGTM, though I recommend tests for these changes.
You're right. We currently don't have tests for the backend daemons, so it's a good opportunity to add some.
rebased
Done! :-)
Pull-Request has been merged by abompard
When a widget is disabled, the DB instances should be ignored by the backend. Otherwise the module can't be imported and it's a crash.