flask: Fix a problem in xend code when starting a guest with XSM/Flask enabled.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
Keir Fraser committed 2008-10-08 10:03:47 +01:00
1 parent 913481379c
commit 8c755b0a98
1 file changed
+4 -1
+4 -1
View File
@@ -35,7 +35,10 @@ def calc_dom_ssidref_from_info(info):
return ssidref
def set_security_label(policy, label):
return label
if label:
return label
else:
return ""
def ssidref2security_label(ssidref):
label = ssidref2label(ssidref)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.