seinfo: clarify empty attribute expansion

Use "empty attribute" instead of "empty set".
This commit is contained in:
Chris PeBenito 2015-10-15 16:00:13 -04:00
parent f3aaeb5ce5
commit b38aa9af6f

2
seinfo
View File

@ -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(