Man who beat puppy to death for pooing indoors gets six month prison sentence