A man charged with groping a flight attendant has been sentenced to six months in prison, according to court documents.