Fix invalid indentation in _load_policy_file method
The _load_policy_file method is using double indentation. Fix it by removing redundant indentation. Change-Id: Ib31557be298df59b2f4ea05c3f0a8a2b41fe5f36
This commit is contained in:
parent
3beba6b63b
commit
9cbfab6b5a
@ -421,8 +421,7 @@ class Enforcer(object):
|
||||
rules = Rules.load_json(data, self.default_rule)
|
||||
self.set_rules(rules, overwrite=overwrite, use_conf=True)
|
||||
self._loaded_files.append(path)
|
||||
LOG.debug('Reloaded policy file: %(path)s',
|
||||
{'path': path})
|
||||
LOG.debug('Reloaded policy file: %(path)s', {'path': path})
|
||||
|
||||
def _get_policy_path(self, path):
|
||||
"""Locate the policy JSON data file/path.
|
||||
|
Loading…
x
Reference in New Issue
Block a user