PITTSFIELD — A woman has pleaded guilty to setting a fire at a Pittsfield homeless shelter but will avoid jail if she stays out of further legal trouble.The Berkshire Eagle reports that 23-year-old Amanda Swift pleaded guilty Tuesday to attempted arson of a dwelling house and burning personal property in connection with the fire in a room she had occupied at the Barton's Crossing shelter in April 2016.