Tres Seaver
2011-01-10 03fba87e577d28adff2fa6f22c13330c28335229
refs
author Tres Seaver <tseaver@agendaless.com>
Monday, January 10, 2011 23:00 +0100
committer Tres Seaver <tseaver@agendaless.com>
Monday, January 10, 2011 23:00 +0100
commit03fba87e577d28adff2fa6f22c13330c28335229
tree 1b47b6c6e5b3123f2a29d328394d977471b91604 tree | zip | gz
parent 65c62b8fad908bdbc981baff4b1324864f33f1e4 view | diff
Make 'make_api_factory_with_config' tolerate bad confi filename/content.

In such cases, the API factory will have *no* configured plugins or policies:
it will only be useful for retrieving the API from an environment populated by
middleware. Issue warnings for either case.

3 files modified
104 ■■■■ changed files
CHANGES.txt 5 ●●●●● diff | view | raw | blame | history
repoze/who/config.py 37 ●●●● diff | view | raw | blame | history
repoze/who/tests/test_config.py 62 ●●●● diff | view | raw | blame | history