<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def block_pipeline_command(func):
 """ Prints error because some pipelined commands should be blocked when running in cluster-mode """


    def inner(*args, **kwargs):
        raise RedisClusterException(
            "ERROR: Calling pipelined function {0} is blocked when running redis in cluster mode...".format(
                func.__name__))

    return inner