mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-14 02:46:48 +00:00
PolicyRule: Change ruletype property to abstract.
This commit is contained in:
parent
fcadd71b24
commit
c680bee717
@ -44,7 +44,7 @@ class PolicyRule(symbol.PolicySymbol):
|
||||
@property
|
||||
def ruletype(self):
|
||||
"""The rule type for the rule."""
|
||||
return self.qpol_symbol.rule_type(self.policy)
|
||||
raise NotImplementedError
|
||||
|
||||
@property
|
||||
def source(self):
|
||||
|
Loading…
Reference in New Issue
Block a user