#NEWLINE# def _add_lease_date( self , values , lease , key , delta_date , positive_delta ) : #NEWLINE# #INDENT# delta_sec = utils . from_elapsed_time_to_delta ( delta_date , pos_sign = positive_delta ) #NEWLINE# date = timeutils . parse_strtime ( lease [ key ] , utils . LEASE_DATE_FORMAT ) #NEWLINE# values [ key ] = timeutils . strtime ( ( date + delta_sec ) , utils . API_DATE_FORMAT )