Fix the display of the __NULL_LABEL__
PATCH 1/1 Fix the display of the __NULL_LABEL__
No longer display the __NULL_LABEL__ on the list of labels.
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/tools/python/xen/util/security.py +5 -0
@@ -608,6 +608,11 @@ def list_labels(policy_name, condition): label = line.split()[3] if label not in labels: labels.append(label) + + f.close() + if '__NULL_LABEL__' in labels: + labels.remove('__NULL_LABEL__') + return labels
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel