コード例 #1
0
def online(block):
    try:
        memory.hotplug(block)
    except IOError:
        print "memory%s : Resource is busy" % block
        pass
コード例 #2
0
def online(block):
    try:
        memory.hotplug(block)
        return ""
    except IOError:
        return "memory%s : Resource is busy" % block
コード例 #3
0
def online(block):
    try:
        memory.hotplug(block)
    except IOError:
        print "memory%s : Resource is busy" % block
        pass