dhcpcanon/timers.py
def gen_timeout_request_rebind(lease):
    """."""
    time_left = (lease.lease_time - lease.rebinding_time) * RENEW_PERC
    if time_left < 60:
        time_left = 60
    logger.debug('Next request on rebinding will happen on %s',
                 future_dt_str(nowutc(), time_left))
    return time_left
def gen_timeout_request_rebind(lease):
    """."""
    time_left = (lease.lease_time - lease.rebinding_time) * RENEW_PERC
    if time_left < 60:
        time_left = 60
    logger.debug('Next request on rebinding will happen on %s',
                 future_dt_str(nowutc(), time_left))
    return time_left
def gen_timeout_request_rebind ( lease ) : time_left = ( lease . lease_time - lease . rebinding_time ) * RENEW_PERC if time_left < 60 : time_left = 60 logger . debug ( 'Next request on rebinding will happen on %s' , future_dt_str ( nowutc ( ) , time_left ) ) return time_left
.
.