oslo.policy/oslo_policy
ChangBo Guo(gcb) 01e4c3628b Make sure item of policy_dirs is directory
We skip path which was not found in config option policy_dirs, but don't
check if the path is a directory. If path is not directory, a confusing
exception StopIteration,  This commit checks that and raise ValueError
if path is not a directory.

Closes-Bug: #1401302
Change-Id: I7e199987321c528d8f13998020507755a17a2c29
2015-12-12 15:26:50 +08:00
..
tests Make sure item of policy_dirs is directory 2015-12-12 15:26:50 +08:00
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
_cache_handler.py Have the enforcer have its own file cache 2015-08-06 19:48:33 -07:00
_checks.py Correct invalid doc references 2015-11-22 10:24:14 -06:00
_i18n.py Use oslo_i18n 2015-02-05 20:44:18 +00:00
_parser.py Cleanup logging to conform to guidelines 2015-05-21 02:56:56 +08:00
fixture.py Custom fixture to avoid external call in HttpCheck 2015-10-08 16:50:01 -07:00
opts.py remove deprecation text for policy_dirs option 2015-09-11 00:20:27 -05:00
policy.py Make sure item of policy_dirs is directory 2015-12-12 15:26:50 +08:00