#NEWLINE# def humanize_time( secs ) : #NEWLINE# #INDENT# 'convert second in to hh:mm:ss format\n    ' #NEWLINE# if ( secs is None ) : #NEWLINE# #INDENT# return '--' #NEWLINE# #UNINDENT# ( mins , secs ) = divmod ( secs , 60 ) #NEWLINE# ( hours , mins ) = divmod ( mins , 60 ) #NEWLINE# return '{:02d}:{:02d}:{:02d}' . format ( int ( hours ) , int ( mins ) , int ( secs ) )