mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-15 19:48:06 +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
|
@property
|
||||||
def ruletype(self):
|
def ruletype(self):
|
||||||
"""The rule type for the rule."""
|
"""The rule type for the rule."""
|
||||||
return self.qpol_symbol.rule_type(self.policy)
|
raise NotImplementedError
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def source(self):
|
def source(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user