def __new__(cls, name, bases, attrs):
        if cls.__blacklist__ in name:
            return super(CircuitBreakerMetaclass, cls).__new__(cls, name,
                                                               bases, attrs)

        class_name = attrs.get('__circuit_breaker_name__',
                               '{}CircuitBreaker'.format(name))
        new_class = super(CircuitBreakerMetaclass, cls).__new__(cls,
                                                                class_name,
                                                                bases, attrs)

        setattr(new_class, 'circuit_breaker_name', class_name)

        if class_name not in cls.__instances__:
            cls.__instances__[class_name] = new_class

        return cls.__instances__[class_name]
dataset/ETHPy150Open wiliamsouza/hystrix-py/hystrix/circuitbreaker.py/CircuitBreakerMetaclass.__new__/swapped operands of `in`