2370
2379
for hook in ConfigHooks['load']:
2374
2383
"""Create a config store from a string.
2383
2388
raise AssertionError('Already loaded: %r' % (self._config_obj,))
2386
2391
# The config files are always stored utf8-encoded
2387
2392
self._config_obj = ConfigObj(co_input, encoding='utf-8')
2388
2393
except configobj.ConfigObjError, e:
2390
2395
raise errors.ParseConfigError(e.errors, self.external_url())