214
214
"""Reconnect Storm stores, resetting the dbconfig to its defaults.
216
216
After reconnecting, the database revision will be checked to make
217
217
sure the right data is available.
222
dbuser=getattr(section, 'dbuser', None),
223
dbuser=getattr(section, 'dbuser', None),
225
226
main_store = getUtility(IStoreSelector).get(MAIN_STORE, DEFAULT_FLAVOR)
226
227
assert main_store is not None, 'Failed to reconnect'