target_distribution_methods = {}


def register(target_distribution_method_name, target_distribution_method):
    target_distribution_methods[target_distribution_method_name
        ] = target_distribution_method


def create_action(task, source, filename, target):
    return target_distribution_methods[target['distribution_method']](task,
        source, filename, target)

2c4c5f761e371c00b731a98c9c33f39dfa9a7f0e
<mask token>

<mask token>


def register(target_distribution_method_name, target_distribution_method):
    target_distribution_methods[target_distribution_method_name
        ] = target_distribution_method


<mask token>

<mask token>


def register(target_distribution_method_name, target_distribution_method):
    target_distribution_methods[target_distribution_method_name
        ] = target_distribution_method


def create_action(task, source, filename, target):
    return target_distribution_methods[target['distribution_method']](task,
        source, filename, target)

target_distribution_methods = {}


def register(target_distribution_method_name, target_distribution_method):
    target_distribution_methods[target_distribution_method_name
        ] = target_distribution_method


def create_action(task, source, filename, target):
    return target_distribution_methods[target['distribution_method']](task,
        source, filename, target)
