mirror of
https://github.com/SELinuxProject/setools
synced 2025-04-11 03:51:26 +00:00
Merge pull request #16 from driechersRC/bugfix_evaluate_kwargs
terule: Fixed evaluate kwargs
This commit is contained in:
commit
c07e8e45b7
@ -100,7 +100,7 @@ cdef class BaseTERule(PolicyRule):
|
|||||||
if self._conditional is None:
|
if self._conditional is None:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if self._conditional.evaluate(kwargs):
|
if self._conditional.evaluate(**kwargs):
|
||||||
return self._conditional_block
|
return self._conditional_block
|
||||||
else:
|
else:
|
||||||
return not self._conditional_block
|
return not self._conditional_block
|
||||||
|
Loading…
Reference in New Issue
Block a user