diff options
author | Steve Martinelli <stevemar@ca.ibm.com> | 2015-02-16 17:19:08 -0500 |
---|---|---|
committer | Ian Cordasco <ian.cordasco@rackspace.com> | 2015-02-17 01:41:39 +0000 |
commit | fc7da183c7dc9927793eecf237c2bb5fb6f357b9 (patch) | |
tree | acd7bc01c564cf5483eaf5f57d7af1cc5261f70a | |
parent | 3e2981027b5677e99f6ce8b3df4f705c13524c76 (diff) | |
download | oslo-policy-fc7da183c7dc9927793eecf237c2bb5fb6f357b9.tar.gz |
Fix minor spelling issues in oslo.policy
Change-Id: I351ab4f335d3bbb642e9e9bc225dd8725559989b
-rw-r--r-- | oslo_policy/_parser.py | 2 | ||||
-rw-r--r-- | oslo_policy/policy.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oslo_policy/_parser.py b/oslo_policy/_parser.py index dfa5141..5a6eab6 100644 --- a/oslo_policy/_parser.py +++ b/oslo_policy/_parser.py @@ -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 diff --git a/oslo_policy/policy.py b/oslo_policy/policy.py index 87aad7c..c264b51 100644 --- a/oslo_policy/policy.py +++ b/oslo_policy/policy.py @@ -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 |