Fix minor spelling issues in oslo.policy

Change-Id: I351ab4f335d3bbb642e9e9bc225dd8725559989b
This commit is contained in:
Steve Martinelli 2015-02-16 17:19:08 -05:00 committed by Ian Cordasco
parent 3e2981027b
commit fc7da183c7
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ def _parse_list_rule(rule):
# Outer list is joined by "or"; inner list by "and" # Outer list is joined by "or"; inner list by "and"
or_list = [] or_list = []
for inner_rule in rule: for inner_rule in rule:
# Elide empty inner lists # Skip empty inner lists
if not inner_rule: if not inner_rule:
continue continue

View File

@ -409,7 +409,7 @@ class Enforcer(object):
{'path': path}) {'path': path})
def _get_policy_path(self, path): def _get_policy_path(self, path):
"""Locate the policy json data file/path. """Locate the policy JSON data file/path.
:param path: It's value can be a full path or related path. When :param path: It's value can be a full path or related path. When
full path specified, this function just returns the full full path specified, this function just returns the full