'Returns the user partition scheme with the given name.'

@staticmethod
def get_scheme(name):

    if (not UserPartition.scheme_extensions):
        UserPartition.scheme_extensions = ExtensionManager(namespace=USER_PARTITION_SCHEME_NAMESPACE)
    try:
        scheme = UserPartition.scheme_extensions[name].plugin
    except KeyError:
        raise UserPartitionError("Unrecognized    scheme    '{0}'".format(name))
    scheme.name = name
    return scheme
