Ejemplo n.º 1
0
def follow(gandi, resource):
    """ Get the operation status

    Resource is an operation ID
    """
    oper = gandi.oper.info(int(resource))
    assert(oper['type'].startswith('certificate_'))
    output_cert_oper(gandi, oper)
    return oper
Ejemplo n.º 2
0
def follow(gandi, resource):
    """ Get the operation status

    Resource is an operation ID
    """
    oper = gandi.oper.info(int(resource))
    assert (oper['type'].startswith('certificate_'))
    output_cert_oper(gandi, oper)
    return oper