mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-02 21:21:28 +00:00
seinfo: clarify empty attribute expansion
Use "empty attribute" instead of "empty set".
This commit is contained in:
parent
f3aaeb5ce5
commit
b38aa9af6f
2
seinfo
2
seinfo
@ -27,7 +27,7 @@ import logging
|
||||
def expand_attr(attr):
|
||||
"""Render type and role attributes."""
|
||||
items = "\n\t".join(sorted(str(i) for i in attr.expand()))
|
||||
contents = items if items else "<empty set>"
|
||||
contents = items if items else "<empty attribute>"
|
||||
return "{0}\n\t{1}".format(attr.statement(), contents)
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
|
Loading…
Reference in New Issue
Block a user