from util.logging import logger
import functools

changed_list = []


def changed(func, name):
    """Mark a changed function [DEBUG]
    """
    @functools.wraps(func)
    def decorateit(*args, **kwargs):
        if func.__name__ not in changed_list:
            changed_list.append(func.__name__)
            logger.debug("function {} changed by {}! Check if it works as you think".format(name))
        return func(*args, **kwargs)
    return decorateit

9eb80ae59968ee1c404e551ee6c05225d1c7a374
<mask token>

<mask token>


def changed(func, name):
    """Mark a changed function [DEBUG]
    """

    @functools.wraps(func)
    def decorateit(*args, **kwargs):
        if func.__name__ not in changed_list:
            changed_list.append(func.__name__)
            logger.debug(
                'function {} changed by {}! Check if it works as you think'
                .format(name))
        return func(*args, **kwargs)
    return decorateit

<mask token>
changed_list = []


def changed(func, name):
    """Mark a changed function [DEBUG]
    """

    @functools.wraps(func)
    def decorateit(*args, **kwargs):
        if func.__name__ not in changed_list:
            changed_list.append(func.__name__)
            logger.debug(
                'function {} changed by {}! Check if it works as you think'
                .format(name))
        return func(*args, **kwargs)
    return decorateit

from util.logging import logger
import functools
changed_list = []


def changed(func, name):
    """Mark a changed function [DEBUG]
    """

    @functools.wraps(func)
    def decorateit(*args, **kwargs):
        if func.__name__ not in changed_list:
            changed_list.append(func.__name__)
            logger.debug(
                'function {} changed by {}! Check if it works as you think'
                .format(name))
        return func(*args, **kwargs)
    return decorateit

from util.logging import logger
import functools

changed_list = []


def changed(func, name):
    """Mark a changed function [DEBUG]
    """
    @functools.wraps(func)
    def decorateit(*args, **kwargs):
        if func.__name__ not in changed_list:
            changed_list.append(func.__name__)
            logger.debug("function {} changed by {}! Check if it works as you think".format(name))
        return func(*args, **kwargs)
    return decorateit
