mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-30 23:36:23 +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:
|
||||
return True
|
||||
|
||||
if self._conditional.evaluate(kwargs):
|
||||
if self._conditional.evaluate(**kwargs):
|
||||
return self._conditional_block
|
||||
else:
|
||||
return not self._conditional_block
|
||||
|
Loading…
Reference in New Issue
Block a user