#NEWLINE# def log_date_time_string( self ) : #NEWLINE# #INDENT# 'Return the current time formatted for logging.' #NEWLINE# now = time . time ( ) #NEWLINE# ( year , month , day , hh , mm , ss , x , y , z ) = time . localtime ( now ) #NEWLINE# s = ( '%02d/%3s/%04d %02d:%02d:%02d' % ( day , self . monthname [ day ] , year , hh , mm , ss ) ) #NEWLINE# return s