mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-01 02:21:51 +00:00
sediff: Fix new issues from newer pylint.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
b58fdc00cd
commit
d9e9a4d902
8
sediff
8
sediff
@ -477,12 +477,12 @@ try:
|
||||
len(diff.modified_levels)))
|
||||
if diff.added_levels and not args.stats:
|
||||
print(" Added Levels: {0}".format(len(diff.added_levels)))
|
||||
for l in sorted(diff.added_levels):
|
||||
print(" + {0}".format(l))
|
||||
for a in sorted(diff.added_levels):
|
||||
print(" + {0}".format(a))
|
||||
if diff.removed_levels and not args.stats:
|
||||
print(" Removed Levels: {0}".format(len(diff.removed_levels)))
|
||||
for l in sorted(diff.removed_levels):
|
||||
print(" - {0}".format(l))
|
||||
for r in sorted(diff.removed_levels):
|
||||
print(" - {0}".format(r))
|
||||
if diff.modified_levels and not args.stats:
|
||||
print(" Modified Levels: {0}".format(len(diff.modified_levels)))
|
||||
for level, added_categories, removed_categories, _ in sorted(diff.modified_levels,
|
||||
|
Loading…
Reference in New Issue
Block a user