src/server/server.py
def db_reset_current_laps():
    '''Resets database current laps to default.'''
    RACE.node_laps = {}
    for idx in range(RACE.num_nodes):
        RACE.node_laps[idx] = []

    RACE.cacheStatus = Results.CacheStatus.INVALID
    logger.debug('Database current laps reset')
Resets database current laps to default.
Resets database current laps to default.
Resets database current laps to default .
def db_reset_current_laps():
    RACE.node_laps = {}
    for idx in range(RACE.num_nodes):
        RACE.node_laps[idx] = []
    RACE.cacheStatus = Results.CacheStatus.INVALID
    logger.debug('Database current laps reset')
def db_reset_current_laps ( ) : RACE . node_laps = { } for idx in range ( RACE . num_nodes ) : RACE . node_laps [ idx ] = [ ] RACE . cacheStatus = Results . CacheStatus . INVALID logger . debug ( 'Database current laps reset' )
Resets database current laps to default.
Resets database current laps to default .
'''Resets database current laps to default.'''