def simple_decorator(decorator):
    def new_decorator(f):
        g = decorator(f)
        g.__name__ = f.__name__
        g.__doc__ = f.__doc__
        g.__dict__.update(f.__dict__)
        return g
    # Now a few lines needed to make simple_decorator itself
    # be a well-behaved decorator.
    new_decorator.__name__ = decorator.__name__
    new_decorator.__doc__ = decorator.__doc__
    new_decorator.__dict__.update(decorator.__dict__)
    return new_decorator
Generate a certificate signed by the supplied root certificate.
dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/docutil/commands_util.py/simple_decorator--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/ca/_ca.py/NodeCredential.initialize