#NEWLINE# def _do_completed( self , name , completed ) : #NEWLINE# #INDENT# milestone = model . Milestone ( self . env , name ) #NEWLINE# milestone . completed = ( parse_date ( completed , hint = 'datetime' , locale = get_console_locale ( milestone . env ) ) if completed else None ) #NEWLINE# milestone . update ( )