3e38206001
Introduce a private variable inside Enforcer class to remember
status of the last policy syntax checks in order to avoid
redundant calls to the check_rules() method.
Having this flag makes the whole rules mechanism faster, as under
certain conditions check_rules() method was being executed
multiple times even when not needed.
Change-Id: Id3992fc0cb567451049a12ebdc6851e737573bb8
Closes-bug: #1723030
Co-Authored-By: Ben Nemec <bnemec@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
locale | ||
tests | ||
__init__.py | ||
_cache_handler.py | ||
_checks.py | ||
_i18n.py | ||
_parser.py | ||
fixture.py | ||
generator.py | ||
opts.py | ||
policy.py | ||
shell.py | ||
sphinxext.py | ||
sphinxpolicygen.py | ||
version.py |