mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-21 22:46:50 +00:00
sediff: fix copy-paste error in range_transition rendering
range_transitions never have filenames nor conditionals.
This commit is contained in:
parent
0513f0bb5a
commit
460be62a66
12
sediff
12
sediff
@ -517,18 +517,6 @@ try:
|
||||
"{0.ruletype} {0.source} {0.target}:{0.tclass} +[{1}] -[{2}]".format(
|
||||
rule, added_default, removed_default)
|
||||
|
||||
try:
|
||||
rule_string += " {0}".format(self.filename)
|
||||
except:
|
||||
pass
|
||||
|
||||
rule_string += ";"
|
||||
|
||||
try:
|
||||
rule_string += " [ {0} ]".format(rule.conditional)
|
||||
except:
|
||||
pass
|
||||
|
||||
print(" * {0}".format(rule_string))
|
||||
|
||||
print()
|
||||
|
Loading…
Reference in New Issue
Block a user