xsm: Implement missing functions in XSM dummy module

I am implementing some missing interface functions in the XSM dummy
module. Also deactivating some debugging output.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
Keir Fraser committed 2007-12-14 10:17:50 +00:00
1 parent 891143e321
commit 8b1031d446
1 file changed
+9 -1
+9 -1
View File
@@ -33,7 +33,6 @@ xmlrpc_exports = [
def err(msg):
"""Raise XSM-dummy exception.
"""
sys.stderr.write("XSM-dummyError: " + msg + "\n")
raise XSMError(msg)
def on():
@@ -123,3 +122,12 @@ def get_domain_label(domain):
def set_domain_label():
err("Command not supported under xsm 'dummy' module.")
def dump_policy():
pass
def dump_policy_file():
pass
def get_ssid(domain):
err("No ssid has been assigned to any domain under xsm dummy module.")
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.