Fix minor spelling issues in oslo.policy
Change-Id: I351ab4f335d3bbb642e9e9bc225dd8725559989b
This commit is contained in:
parent
3e2981027b
commit
fc7da183c7
@ -228,7 +228,7 @@ def _parse_list_rule(rule):
|
||||
# Outer list is joined by "or"; inner list by "and"
|
||||
or_list = []
|
||||
for inner_rule in rule:
|
||||
# Elide empty inner lists
|
||||
# Skip empty inner lists
|
||||
if not inner_rule:
|
||||
continue
|
||||
|
||||
|
@ -409,7 +409,7 @@ class Enforcer(object):
|
||||
{'path': 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
|
||||
full path specified, this function just returns the full
|
||||
|
Loading…
x
Reference in New Issue
Block a user